          """
          logger.debug("Setting global config")
          section = "global"
          self.add_section(title=section,
                           info="Faceswap GUI Options.\nNB: Faceswap will need to be restarted for "
                                "any changes to take effect.")
          self.add_item(
              section=section, title="fullscreen", datatype=bool, default=False, group="startup",
              info="Start Faceswap maximized.")
          self.add_item(
              section=section, title="tab", datatype=str, default="extract", group="startup",
 
</s> remove         if command:
            if command in self.command_tabs:
                self.command_notebook.select(self.command_tabs[command])
            else:
                self.command_notebook.select(self.command_tabs["tools"])
                self.command_notebook.tools_notebook.select(self.tools_command_tabs[command])
        self.add_to_recent(filename, command)
        logger.debug("Loaded config: (command: '%s', filename: '%s')", command, filename)

    def get_command_options(self, cfg, command):
        """ return the saved options for the requested
            command, if not loading global options """
        opts = cfg.get(command, None)
        retval = {command: opts}
        if not opts:
            self.tk_vars["consoleclear"].set(True)
            print("No {} section found in file".format(command))
            logger.info("No  %s section found in file", command)
            retval = None
        logger.debug(retval)
        return retval
 </s> add         Parameters
        ----------
        text: str, optional
            Additional text to be appended to the GUI title bar. Default: ``None``
        """
        title = "Faceswap.py"
        title += " - {}".format(text) if text is not None and text else ""
        self.root.title(title) </s> remove class Config():
    """ Global configuration settings
 </s> add     # Convenience GUI Objects
    @property
    def tools_notebook(self):
        """ :class:`lib.gui.command.ToolsNotebook`: The Faceswap Tools sub-Notebook. """
        return self.command_notebook.tools_notebook
                         info="Faceswap GUI Options.\nConfigure the appearance and behaviour of "
                              "the GUI")
          """
          logger.debug("Setting global config")
          section = "global"
          self.add_section(title=section,
                         info="Faceswap GUI Options.\nConfigure the appearance and behaviour of "
                              "the GUI")
                         info="Faceswap GUI Options.\nConfigure the appearance and behaviour of "
                              "the GUI")
          self.add_item(
              section=section, title="fullscreen", datatype=bool, default=False, group="startup",
              info="Start Faceswap maximized.")
          self.add_item(
              section=section, title="tab", datatype=str, default="extract", group="startup",
keep keep keep keep replace 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/_config.py