              if section.startswith("writer."):
                  continue
              for key, val in self._config.defaults[section].items():
                  if key == "helptext":
                      config_dicts.setdefault(section, dict())[key] = val
                      continue
                  cp_option = ControlPanelOption(title=key,
                                                 dtype=val["type"],
                                                 group=val["group"],
                                                 default=val["default"],
 
</s> remove         config_dicts = dict()
 </s> add         config_dicts = {} </s> remove                 self.tk_vars.setdefault(section, dict())[key] = cp_option.tk_var
                config_dicts.setdefault(section, dict())[key] = cp_option
 </s> add                 self.tk_vars.setdefault(section, {})[key] = cp_option.tk_var
                config_dicts.setdefault(section, {})[key] = cp_option </s> remove                     continue
 </s> add                     continue  # helptext already written at top </s> remove                     new_opt = options.value  # Keep saved item for other sections
 </s> add                     # retain saved values that have not been updated
                    new_opt = self._config.get(config_section, item) </s> remove                 text = _("Save {} config").format(title)
 </s> add                 text = _(f"Save {title} config")
                    config_dicts.setdefault(section, {})[key] = val
              if section.startswith("writer."):
                  continue
              for key, val in self._config.defaults[section].items():
                  if key == "helptext":
                    config_dicts.setdefault(section, {})[key] = val
                      continue
                  cp_option = ControlPanelOption(title=key,
                                                 dtype=val["type"],
                                                 group=val["group"],
                                                 default=val["default"],
keep keep keep keep replace keep keep keep keep keep
 bugfix: Preview Tool, ensure all config items are written 
tools/preview/preview.py