  
  class FaceswapGui(tk.Tk):
      """ The Graphical User Interface """
  
      def __init__(self, pathscript):
          logger.debug("Initializing %s", self.__class__.__name__)
          super().__init__()
  
          self.initialize_globals(pathscript)
          self.set_fonts()
 
</s> remove         self.initialize_globals(pathscript)
 </s> add         self._init_args = dict(debug=debug)
        self._config = self.initialize_globals() </s> remove         name, self.config = config
        self.title("{} Plugins".format(name.title()))
 </s> add         self._name, self.config = config
        self.title("{} Plugins".format(self._name.title())) </s> remove     def __init__(self, pathscript=None):
        logger.debug("Initializing %s: (pathscript: %s)", self.__class__.__name__, pathscript)
 </s> add     def __init__(self):
        logger.debug("Initializing %s", self.__class__.__name__) </s> remove         Don't call directly. Call get_images()
 </s> add     This class should be initialized on GUI startup through :func:`initialize_images`. Any further
    access to this class should be through :func:`get_images`. </s> remove     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.recolor = re.compile(r".+?(\s\d+:\d+:\d+\s)(?P<lvl>[A-Z]+)\s")
        logger.debug("Initialized %s", self.__class__.__name__)
 </s> add     # GUI Objects
    @property
    def cli_opts(self):
        """ :class:`lib.gui.options.CliOptions`: The command line options for this GUI Session. """
        return self._gui_objects["cli_opts"]
    def __init__(self, debug):
  
  class FaceswapGui(tk.Tk):
      """ The Graphical User Interface """
  
    def __init__(self, debug):
          logger.debug("Initializing %s", self.__class__.__name__)
          super().__init__()
  
          self.initialize_globals(pathscript)
          self.set_fonts()
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 
scripts/gui.py