          config_dicts = dict()
          for section in self.config.config.sections():
              if section == "writer":
                  continue
              default_dict = self.config.defaults[section]
              for key in default_dict.keys():
                  if key == "helptext":
                      continue
                  default_dict[key]["value"] = self.config.get(section, key)
              config_dicts[section] = default_dict
          return config_dicts
 
</s> remove         for section in self.config.config.sections():
            if section == "writer":
 </s> add         for section in self._config.config.sections():
            if section.startswith("writer."): </s> remove                 default_dict[key]["value"] = self.config.get(section, key)
            config_dicts[section] = default_dict
 </s> add                 cp_option = ControlPanelOption(title=key,
                                               dtype=val["type"],
                                               group=val["group"],
                                               default=val["default"],
                                               initial_value=self._config.get(section, key),
                                               choices=val["choices"],
                                               is_radio=val["gui_radio"],
                                               rounding=val["rounding"],
                                               min_max=val["min_max"],
                                               helptext=val["helptext"])
                self.tk_vars.setdefault(section, dict())[key] = cp_option.tk_var
                config_dicts.setdefault(section, dict())[key] = cp_option
        logger.debug("Formatted Config for GUI: %s", config_dicts) </s> remove                     self.config.config[section][item] = new_value

    def get_config_dicts(self):
        """ Hold a custom config dict for the config """
 </s> add                     self._config.config[section][item] = new_value

    def _get_config_dicts(self):
        """ Obtain a custom configuration dictionary for convert configuration items in use
        by the preview tool formatted for control helper.

        Returns
        -------
        dict
            Each configuration section as keys, with the values as a dict of option:
            :class:`lib.gui.control_helper.ControlOption` pairs. """
        logger.debug("Formatting Config for GUI") </s> remove     def reset_config_saved(self, section=None):
        """ Reset config to saved values """
 </s> add     def reset_config_to_saved(self, section=None):
        """ Reset the GUI parameters to their saved values within the configuration file.

        Parameters
        ----------
        section: str, optional
            The configuration section to reset the values for, If ``None`` provided then all
            sections are reset. Default: ``None``
        """
            for key, val in self._config.defaults[section].items():
          config_dicts = dict()
          for section in self.config.config.sections():
              if section == "writer":
                  continue
            for key, val in self._config.defaults[section].items():
            for key, val in self._config.defaults[section].items():
                  if key == "helptext":
                      continue
                  default_dict[key]["value"] = self.config.get(section, key)
              config_dicts[section] = default_dict
          return config_dicts
keep keep keep keep replace replace keep keep keep keep keep
 Smart Masks to Convert (#957)

- scripts.convert - Use Smart Masks for Convert
    * Make on-the-fly conversion an explicit option

- Move BlurMask to lib.faces_detect

- tools.preview - Fix for smart masks
    * Subclass from tk.Tk
    * Options to lib.gui.control_helper
    *variable cleanup

- lib.logger - Demote more tensorflow deprecation messages

- Documentation:
    * lib.faces_detect.BlurMask
    * plugins.convert.mask
    * lib.convert
    * scripts.convert
    * scripts.fsmedia
    * tools.preview 
tools/preview.py