  
      def __init__(self, handle_type, file_type, title=None, initial_folder=None, command=None,
                   action=None, variable=None):
          logger.debug("Initializing %s: (handle_type: '%s', file_type: '%s', title: '%s', "
                       "initial_folder: '%s, 'command: '%s', action: '%s', variable: %s)",
                       self.__class__.__name__, handle_type, file_type, title, initial_folder,
                       command, action, variable)
          self._handletype = handle_type
          self._defaults = self._set_defaults()
          self._kwargs = self._set_kwargs(title,
                                          initial_folder,
                                          file_type,
 
</s> remove     def __init__(self, handle_type, file_type, title=None, initial_folder=None, command=None,
                 action=None, variable=None):
 </s> add     def __init__(self, handle_type, file_type, title=None, initial_folder=None, initial_file=None,
                 command=None, action=None, variable=None): </s> remove         logger.debug("Setting Kwargs: (title: %s, initialdir: %s, filetype: '%s', "
                     "command: '%s': action: '%s', variable: '%s')",
                     title, initialdir, filetype, command, action, variable)
 </s> add         logger.debug("Setting Kwargs: (title: %s, initial_folder: %s, initial_file: '%s', "
                     "file_type: '%s', command: '%s': action: '%s', variable: '%s')",
                     title, initial_folder, initial_file, file_type, command, action, variable) </s> remove     def _set_kwargs(self, title, initialdir, filetype, command, action, variable=None):
 </s> add     def _set_kwargs(self, title, initial_folder, initial_file, file_type, command, action,
                    variable=None): </s> remove     def __init__(self, parent, configurations, tree, theme):
 </s> add     def __init__(self, top_level, parent, configurations, tree, theme):
                     "initial_folder: '%s', initial_file: '%s', command: '%s', action: '%s', "
                     "variable: %s)", self.__class__.__name__, handle_type, file_type, title,
                     initial_folder, initial_file, command, action, variable)
  
      def __init__(self, handle_type, file_type, title=None, initial_folder=None, command=None,
                   action=None, variable=None):
          logger.debug("Initializing %s: (handle_type: '%s', file_type: '%s', title: '%s', "
                     "initial_folder: '%s', initial_file: '%s', command: '%s', action: '%s', "
                     "variable: %s)", self.__class__.__name__, handle_type, file_type, title,
                     initial_folder, initial_file, command, action, variable)
                     "initial_folder: '%s', initial_file: '%s', command: '%s', action: '%s', "
                     "variable: %s)", self.__class__.__name__, handle_type, file_type, title,
                     initial_folder, initial_file, command, action, variable)
                     "initial_folder: '%s', initial_file: '%s', command: '%s', action: '%s', "
                     "variable: %s)", self.__class__.__name__, handle_type, file_type, title,
                     initial_folder, initial_file, command, action, variable)
          self._handletype = handle_type
          self._defaults = self._set_defaults()
          self._kwargs = self._set_kwargs(title,
                                          initial_folder,
                                          file_type,
keep keep keep keep replace replace replace keep keep keep keep keep
 GUI - Plugin preset support
  - Add ability to load and save presets for all existing faceswap plugins
  - Add phaze-a presets 
lib/gui/utils.py