      """ Route stdout/stderr to the console window """
  
      def __init__(self, console=None, out_type=None):
          self.console = console
          self.out_type = out_type
          self.color = ("black" if out_type == "stdout" else "red")
          logger.debug("Initialized %s", self.__class__.__name__)
  
 
</s> remove             print("Console debug activated. Outputting to main terminal")
 </s> add             logger.info("Console debug activated. Outputting to main terminal")
        logger.debug("Initializing %s: (console: %s, out_type: '%s')",
                     self.__class__.__name__, console, out_type)
      """ Route stdout/stderr to the console window """
  
      def __init__(self, console=None, out_type=None):
        logger.debug("Initializing %s: (console: %s, out_type: '%s')",
                     self.__class__.__name__, console, out_type)
          self.console = console
          self.out_type = out_type
          self.color = ("black" if out_type == "stdout" else "red")
          logger.debug("Initialized %s", self.__class__.__name__)
  
keep keep add keep keep keep keep keep
 Add right click menu to GUI. Implement some GUI Logging 
lib/gui/utils.py