          self._tree = tree
          self._vars = dict()
          self._cache = dict()
          self._config_cpanel_dict = self._get_config()
          self._build_header()
          self._displayed_frame = None
  
      def _get_config(self):
          """ Format the configuration options stored in :attr:`_config` into a dict of
          :class:`~lib.gui.control_helper.ControlPanelOption's for placement into option frames.
 
</s> remove     def __init__(self, parent, configurations, tree, theme):
 </s> add     def __init__(self, top_level, parent, configurations, tree, theme): </s> remove             kwargs["filetypes"] = self._filetypes[filetype]
            if self._defaults.get(filetype):
                kwargs['defaultextension'] = self._defaults[filetype]
 </s> add             kwargs["filetypes"] = self._filetypes[file_type]
            if self._defaults.get(file_type):
                kwargs['defaultextension'] = self._defaults[file_type] </s> remove         self._opts_frame = DisplayArea(content_frame, configurations, self._tree, theme)
 </s> add         self._opts_frame = DisplayArea(self, content_frame, configurations, self._tree, theme) </s> remove         if initialdir is not None:
            kwargs["initialdir"] = initialdir
 </s> add         if initial_folder is not None:
            kwargs["initialdir"] = initial_folder

        if initial_file is not None:
            kwargs["initialfile"] = initial_file
          self._tree = tree
          self._vars = dict()
          self._cache = dict()
          self._config_cpanel_dict = self._get_config()

          self._displayed_frame = None
  
      def _get_config(self):
          """ Format the configuration options stored in :attr:`_config` into a dict of
          :class:`~lib.gui.control_helper.ControlPanelOption's for placement into option frames.
keep keep keep keep 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/popup_configure.py