  
      def redirect_console(self):
          """ Redirect stdout/stderr to console frame """
          if self.debug:
              print("Console debug activated. Outputting to main terminal")
          else:
              sys.stdout = SysOutRouter(console=self.console, out_type="stdout")
              sys.stderr = SysOutRouter(console=self.console, out_type="stderr")
  
      def clear(self, *args):
 
</s>
            logger.info("Console debug activated. Outputting to main terminal")
  
      def redirect_console(self):
          """ Redirect stdout/stderr to console frame """
          if self.debug:
            logger.info("Console debug activated. Outputting to main terminal")
          else:
              sys.stdout = SysOutRouter(console=self.console, out_type="stdout")
              sys.stderr = SysOutRouter(console=self.console, out_type="stderr")
  
      def clear(self, *args):
keep keep keep keep replace keep keep keep keep keep
 Add right click menu to GUI. Implement some GUI Logging
lib/gui/utils.py