              retval["browser"] = ["folder"]
          logger.debug(retval)
          return retval
  
      def gen_command_options(self, command):
          """ Yield each option for specified command """
          for key, val in self.opts[command].items():
              if not isinstance(val, dict):
                  continue
              yield key, val
 
</s> remove                 cmd_dict[key] = val["selected"].get()
 </s> add                 if not isinstance(val, dict):
                    continue
                cmd_dict[key] = val["cpanel_option"].get() </s> remove         """ Return a consistent object for processing
            regardless of whether processing all commands
            or just one command for reset and clear """
 </s> add         """ Return a consistent object for processing regardless of whether processing all commands
            or just one command for reset and clear. Removes helptext from return value """ </s> remove                 return option["selected"]
 </s> add                 return option["cpanel_option"].tk_var </s> remove         for key, val in self.options.items():
            if key == "helptext":
                continue
            group = "_master" if val["group"] is None else val["group"]
            group_frame = self.get_group_frame(group)
 </s> add         for option in self.options:
            group_frame = self.get_group_frame(option.group)
    @staticmethod
    def expand_action_option(option, options):
        """ Expand the action option to the full command name """
        opts = {opt["opts"][0]: opt["opts"][-1]
                for opt in options}
        old_val = option["action_option"]
        new_val = opts[old_val]
        logger.debug("Updating action option from '%s' to '%s'", old_val, new_val)
        option["action_option"] = new_val

              retval["browser"] = ["folder"]
          logger.debug(retval)
          return retval
  
    @staticmethod
    def expand_action_option(option, options):
        """ Expand the action option to the full command name """
        opts = {opt["opts"][0]: opt["opts"][-1]
                for opt in options}
        old_val = option["action_option"]
        new_val = opts[old_val]
        logger.debug("Updating action option from '%s' to '%s'", old_val, new_val)
        option["action_option"] = new_val

      def gen_command_options(self, command):
          """ Yield each option for specified command """
          for key, val in self.opts[command].items():
              if not isinstance(val, dict):
                  continue
              yield key, val
keep keep keep add keep 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