          """ Reset all config options to default """
          logger.debug("Resetting config")
          for section, items in self.config.defaults.items():
              logger.debug("Resetting section: '%s'", section)
              lookup = [section.split(".")[0], section] if "." in section else [section, section]
              for item, def_opt in items.items():
                  if item == "helptext":
                      continue
                  default = def_opt["default"]
                  tk_var = self.config_dict_gui[lookup[0]][lookup[1]][item]["selected"]
 
</s> remove                 tk_var = self.config_dict_gui[lookup[0]][lookup[1]][item]["selected"]
 </s> add  </s> remove         options = {sect: opts
                   for value in self.config_dict_gui.values()
 </s> add         options = {".".join((key, sect)) if sect != key else key: opts
                   for key, value in self.config_cpanel_dict.items() </s> remove             default = option.get("default", "")
            default = "" if default is None else default
 </s> add             cp_opt = option["cpanel_option"]
            default = "" if cp_opt.default is None else cp_opt.default </s> remove                 tk_var.set(default)
 </s> add                 self.config_cpanel_dict[lookup[0]][lookup[1]][item].set(default) </s> remove                 new_opt = options[section][item]
                logger.debug("Adding option: (item: '%s', default: '%s' new: '%s'",
 </s> add                 new_opt = options[section][item].get()
                logger.debug("Adding option: (item: '%s', default: %s new: '%s'",
            lookup = [section.split(".")[0], section.split(".")[-1]]
          """ Reset all config options to default """
          logger.debug("Resetting config")
          for section, items in self.config.defaults.items():
              logger.debug("Resetting section: '%s'", section)
            lookup = [section.split(".")[0], section.split(".")[-1]]
              for item, def_opt in items.items():
                  if item == "helptext":
                      continue
                  default = def_opt["default"]
                  tk_var = self.config_dict_gui[lookup[0]][lookup[1]][item]["selected"]
keep keep keep keep replace keep keep keep keep keep
 GUI Fixups

- GUI Bugfix: Startup options - fix min/max thresholds
- GUI Bugfix: Make console read-only
- GUI Bugfix: Rightclick menu for recreated widgets
- Enhancement: Create ControlPanelOptions Class + migrate options 
lib/gui/popup_configure.py