          """ Reset the options for all or passed command
              back to default value """
          logger.debug("Resetting options to default. (command: '%s'", command)
          for option in self.options_to_process(command):
              default = option.get("default", "")
              default = "" if default is None else default
              if (option.get("nargs", None)
                      and isinstance(default, (list, tuple))):
                  default = ' '.join(str(val) for val in default)
              option["selected"].set(default)
  
 
</s> remove             option["selected"].set(default)
 </s> add             cp_opt.set(default) </s> remove         """ Clear the options values for all or passed
            commands """
 </s> add         """ Clear the options values for all or passed commands """ </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             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 
            cp_opt = option["cpanel_option"]
            default = "" if cp_opt.default is None else cp_opt.default
          """ Reset the options for all or passed command
              back to default value """
          logger.debug("Resetting options to default. (command: '%s'", command)
          for option in self.options_to_process(command):
            cp_opt = option["cpanel_option"]
            default = "" if cp_opt.default is None else cp_opt.default
            cp_opt = option["cpanel_option"]
            default = "" if cp_opt.default is None else cp_opt.default
              if (option.get("nargs", None)
                      and isinstance(default, (list, tuple))):
                  default = ' '.join(str(val) for val in default)
              option["selected"].set(default)
  
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/options.py