  
      def save_config(self):
          """ Save the config file """
          logger.debug("Saving config")
          options = {sect: opts
                     for value in self.config_dict_gui.values()
                     for sect, opts in value.items()}
  
          new_config = ConfigParser(allow_no_value=True)
          for section, items in self.config.defaults.items():
              logger.debug("Adding section: '%s')", section)
 
</s> remove                 tk_var.set(default)
 </s> add                 self.config_cpanel_dict[lookup[0]][lookup[1]][item].set(default) </s> remove             lookup = [section.split(".")[0], section] if "." in section else [section, section]
 </s> add             lookup = [section.split(".")[0], section.split(".")[-1]] </s> remove                 tk_var = self.config_dict_gui[lookup[0]][lookup[1]][item]["selected"]
 </s> add  </s> remove             options = [opt for opt in self.opts[command].values()]
 </s> add             options = [opt for opt in self.opts[command].values() if isinstance(opt, dict)] </s> remove             options = [opt for opts in self.opts.values() for opt in opts.values()]
 </s> add             options = [opt for opts in self.opts.values()
                       for opt in opts.values() if isinstance(opt, dict)]
        options = {".".join((key, sect)) if sect != key else key: opts
                   for key, value in self.config_cpanel_dict.items()
  
      def save_config(self):
          """ Save the config file """
          logger.debug("Saving config")
        options = {".".join((key, sect)) if sect != key else key: opts
                   for key, value in self.config_cpanel_dict.items()
        options = {".".join((key, sect)) if sect != key else key: opts
                   for key, value in self.config_cpanel_dict.items()
                     for sect, opts in value.items()}
  
          new_config = ConfigParser(allow_no_value=True)
          for section, items in self.config.defaults.items():
              logger.debug("Adding section: '%s')", section)
keep keep keep keep replace 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