  
      def initialize_globals(self, pathscript):
          """ Initialize config and images global constants """
          cliopts = CliOptions()
          scaling_factor = self.get_scaling()
          pathcache = os.path.join(pathscript, "lib", "gui", ".cache")
          statusbar = StatusBar(self)
          session = Session()
          initialize_config(self, cliopts, scaling_factor, pathcache, statusbar, session)
          initialize_images()
  
 
</s> remove         initialize_config(self, cliopts, scaling_factor, pathcache, statusbar, session)
 </s> add         config = initialize_config(self, cliopts, statusbar, session) </s> remove     def initialize_globals(self, pathscript):
 </s> add     def initialize_globals(self): </s> remove     @staticmethod
    def set_fonts():
 </s> add     def set_fonts(self): </s> remove         pathscript = os.path.realpath(os.path.dirname(sys.argv[0]))
        pathcache = os.path.join(pathscript, "lib", "gui", ".cache")
        initialize_images(pathcache=pathcache)
 </s> add         initialize_images()
  
      def initialize_globals(self, pathscript):
          """ Initialize config and images global constants """
          cliopts = CliOptions()


          statusbar = StatusBar(self)
          session = Session()
          initialize_config(self, cliopts, scaling_factor, pathcache, statusbar, session)
          initialize_images()
  
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 
scripts/gui.py