              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)
  
      def clear(self, command=None):
          """ Clear the options values for all or passed
              commands """
          logger.debug("Clearing options. (command: '%s'", command)
 
</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         """ Clear the options values for all or passed
            commands """
 </s> add         """ Clear the options values for all or passed commands """ </s> remove             if isinstance(option["selected"].get(), bool):
                option["selected"].set(False)
            elif isinstance(option["selected"].get(), int):
                option["selected"].set(0)
 </s> add             cp_opt = option["cpanel_option"]
            if isinstance(cp_opt.get(), bool):
                cp_opt.set(False)
            elif isinstance(cp_opt.get(), (int, float)):
                cp_opt.set(0) </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]]
            cp_opt.set(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)
            cp_opt.set(default)
  
      def clear(self, command=None):
          """ Clear the options values for all or passed
              commands """
          logger.debug("Clearing options. (command: '%s'", command)
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/options.py