                  if item == "helptext":
                      continue
                  if ((section is not None and config_section != section)
                          or config_section not in self.tk_vars):
                      new_opt = options["value"]  # Keep saved item for other sections
                      logger.debug("Retaining option: (item: '%s', value: '%s')", item, new_opt)
                  else:
                      new_opt = self.tk_vars[config_section][item].get()
                      logger.debug("Setting option: (item: '%s', value: '%s')", item, new_opt)
                  helptext = options["helptext"]
 
</s> remove                 helptext = options["helptext"]
                helptext = self.config.format_help(helptext, is_section=False)
 </s> add                     # Set config_dicts value to new saved value
                    options.set_initial_value(new_opt)
                helptext = self._config.format_help(options.helptext, is_section=False) </s> remove             self.config.insert_config_section(config_section, items["helptext"], config=new_config)
 </s> add             self._config.insert_config_section(config_section,
                                               items["helptext"],
                                               config=new_config) </s> remove             for item, options in self.config_dicts[config_section].items():
 </s> add             for item, options in self._config_dicts[config_section].items(): </s> remove                 val = options["value"]
 </s> add                 val = options.value </s> remove             for item, options in self.config.defaults[config_section].items():
 </s> add             for item, options in self._config_dicts[config_section].items():
                    new_opt = options.value  # Keep saved item for other sections
                  if item == "helptext":
                      continue
                  if ((section is not None and config_section != section)
                          or config_section not in self.tk_vars):
                    new_opt = options.value  # Keep saved item for other sections
                      logger.debug("Retaining option: (item: '%s', value: '%s')", item, new_opt)
                  else:
                      new_opt = self.tk_vars[config_section][item].get()
                      logger.debug("Setting option: (item: '%s', value: '%s')", item, new_opt)
                  helptext = options["helptext"]
keep keep keep keep 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