                                 self.widget.__class__.__name__,
                                 self.widget._w)  # pylint:disable=protected-access
  
      def close(self):
          "Unregister operations and revert redirection created by .__init__."
          for operation in list(self._operations):
              self.unregister(operation)
          widget = self.widget
          tk_ = widget.tk
          wgt = widget._w  # pylint:disable=protected-access
 
</s> remove         self._waittime = waittime  # in milliseconds, originally 500
        self._wraplength = wraplength  # in pixels, originally 180
 </s> add         self._waittime = wait_time  # in milliseconds, originally 500
        self.wrap_length = wrap_length  # in pixels, originally 180 </s> remove                  text_variable=None, waittime=400, wraplength=250):
 </s> add                  text_variable=None, wait_time=400, wrap_length=250): </s> remove         self.tk_ = redir.tk_  # redundant with self.redir
        self.orig = redir.orig  # redundant with self.redir
 </s> add         self.tk_ = redirect.tk_  # redundant with self.redirect
        self.orig = redirect.orig  # redundant with self.redirect </s> remove         self.redir = redir
 </s> add         self.redirect = redirect </s> remove         .redir and .operation store the input args for __repr__.
        .tk and .orig copy attributes of .redir (probably not needed).
 </s> add         .redirect and .operation store the input args for __repr__.
        .tk and .orig copy attributes of .redirect (probably not needed).
        "de-register operations and revert redirection created by .__init__."
                                 self.widget.__class__.__name__,
                                 self.widget._w)  # pylint:disable=protected-access
  
      def close(self):
        "de-register operations and revert redirection created by .__init__."
          for operation in list(self._operations):
              self.unregister(operation)
          widget = self.widget
          tk_ = widget.tk
          wgt = widget._w  # pylint:disable=protected-access
keep keep keep keep replace keep keep keep keep keep
 GUI fixes
  - Split themes and styles to own module
  - Fix border on console window
  - variable name updates to make pep8 happy 
lib/gui/custom_widgets.py