                           command=lambda action="output_sysinfo": self.in_thread(action))
          logger.debug("Built Tools menu")
  
      @staticmethod
      def clear_console():
          """ Clear the console window """
          get_config().tk_vars["consoleclear"].set(True)
 
</s> remove     def output_sysinfo():
        """ Output system information to console """
 </s> add     def clear_console():
        """ Clear the console window """ </s> remove         self.tools_menu.add_command(
            label="Check for updates...", underline=0, command=self.check_updates)
        self.tools_menu.add_command(
            label="Output System Information", underline=0, command=self.output_sysinfo)
        self.add_cascade(label="Tools", menu=self.tools_menu, underline=0)
 </s> add         self.add_command(label="Check for updates...",
                         underline=0,
                         command=lambda action="update": self.in_thread(action))
        self.add_command(label="Output System Information",
                         underline=0,
                         command=lambda action="output_sysinfo": self.in_thread(action)) </s> remove         print(SysInfo().full_info())
 </s> add         info = SysInfo().full_info()
        self.clear_console()
        logger.debug("Obtained system information: %s", info)
        print(info)
        self.root.config(cursor="") </s> remove     def build_tools_menu(self):
        """ Add the file menu to the menu bar """
 </s> add     def build(self):
        """ Build the tools menu """
    def in_thread(self, action):
        """ Perform selected action inside a thread """
        logger.debug("Performing tools action: %s", action)
        thread = MultiThread(getattr(self, action), thread_count=1)
        thread.start()
        logger.debug("Performed tools action: %s", action)

                           command=lambda action="output_sysinfo": self.in_thread(action))
          logger.debug("Built Tools menu")
  
    def in_thread(self, action):
        """ Perform selected action inside a thread """
        logger.debug("Performing tools action: %s", action)
        thread = MultiThread(getattr(self, action), thread_count=1)
        thread.start()
        logger.debug("Performed tools action: %s", action)

      @staticmethod
      def clear_console():
          """ Clear the console window """
          get_config().tk_vars["consoleclear"].set(True)
keep keep add keep keep keep keep
 More responsive FaceSwap update code 
lib/gui/menu.py