  
          generatecommand = tk.StringVar()
          generatecommand.set(None)
  
          consoleclear = tk.BooleanVar()
          consoleclear.set(False)
  
          refreshgraph = tk.BooleanVar()
          refreshgraph.set(False)
  
          updatepreview = tk.BooleanVar()
 
</s> remove         self._console_clear = get_config().tk_vars['consoleclear']
 </s> add         self._console_clear = get_config().tk_vars['console_clear'] </s> remove         self._console = _ReadOnlyText(self)
 </s> add         self._console = _ReadOnlyText(self, relief=tk.FLAT) </s> remove         self.tk_call = redir.tk_.call
        self.orig_and_operation = (redir.orig, operation)
 </s> add         self.tk_call = redirect.tk_.call
        self.orig_and_operation = (redirect.orig, operation) </s> remove         location = FileHandler("dir", None).retfile
 </s> add         location = FileHandler("dir", None).return_file </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
        console_clear = tk.BooleanVar()
        console_clear.set(False)
  
          generatecommand = tk.StringVar()
          generatecommand.set(None)
  
        console_clear = tk.BooleanVar()
        console_clear.set(False)
        console_clear = tk.BooleanVar()
        console_clear.set(False)
  
          refreshgraph = tk.BooleanVar()
          refreshgraph.set(False)
  
          updatepreview = tk.BooleanVar()
keep keep keep keep replace 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/utils.py