          if not self.tk_vars["generate"].get():
              return
          category, command = self.tk_vars["generate"].get().split(",")
          args = self.build_args(category, command=command, generate=True)
          self.tk_vars["consoleclear"].set(True)
          logger.debug(" ".join(args))
          print(" ".join(args))
          self.tk_vars["generate"].set(None)
  
      def prepare(self, category):
 
</s> remove         self.tk_vars["consoleclear"].set(True)
 </s> add         self.tk_vars["console_clear"].set(True) </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). </s> remove         location = FileHandler("dir", None).retfile
 </s> add         location = FileHandler("dir", None).return_file </s> remove         savefile = FileHandler("save", "csv").retfile
 </s> add         savefile = FileHandler("save", "csv").return_file </s> remove         location = FileHandler("dir", None).retfile
 </s> add         location = FileHandler("dir", None).return_file
        self.tk_vars["console_clear"].set(True)
          if not self.tk_vars["generate"].get():
              return
          category, command = self.tk_vars["generate"].get().split(",")
          args = self.build_args(category, command=command, generate=True)
        self.tk_vars["console_clear"].set(True)
          logger.debug(" ".join(args))
          print(" ".join(args))
          self.tk_vars["generate"].set(None)
  
      def prepare(self, category):
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/wrapper.py