          self.task = FaceswapControl(self)
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def set_callbacks(self):
          """ Set the tk variable callbacks """
          logger.debug("Setting tk variable traces")
          self.tk_vars["action"].trace("w", self.action_command)
          self.tk_vars["generate"].trace("w", self.generate_command)
  
      def action_command(self, *args):
 
</s> remove         """ Set a tk boolean var to callback when graph is ready to build """
 </s> add         """ Set a tkinter Boolean var to callback when graph is ready to build """ </s> remove         self.pathscript = pathscript
 </s> add         self.pathscript = os.path.realpath(os.path.dirname(sys.argv[0])) </s> remove     def set_training_callback(self):
 </s> add     def set_callbacks(self): </s> remove     def get_tk_var(self):
 </s> add     def get_tk_var(self, track_modified):
        """ Set the tkinter variable callbacks """
          self.task = FaceswapControl(self)
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def set_callbacks(self):
        """ Set the tkinter variable callbacks """
          logger.debug("Setting tk variable traces")
          self.tk_vars["action"].trace("w", self.action_command)
          self.tk_vars["generate"].trace("w", self.generate_command)
  
      def action_command(self, *args):
keep keep keep keep replace keep keep keep keep keep
 GUI Updates (#940)

* lib.gui: Update icons
* tools.cli: Add video filetype flag to mask input
* lib.gui.popup_configure: Refresh GUI on config save
* lib.gui._config: Add Icon size and load last session options
* lib.gui.control_helper - Add control modification tracking
* lib.gui - Add Projects and Last Session
- Main root title handled by projects
- Add Hotkeys
- Create projects module
- split fsw and fst filetypes
- Add last_session saving

* lib.project
- Documentation
- Ask confirm on closing unsaved project
-Fixups

* Track model folder changes
- Shuffle some globals
- Activate System Verbosity for GUI

* lib.gui.utils - Documentation and clean up
- lib.gui.custom_widgets - Create and document

* Add GUI config option to disable auto loading model stats 
lib/gui/wrapper.py