                  opt["action_option"] = actions[opt["action_option"]]
  
      def gen_command_options(self, command):
          """ Yield each option for specified command """
          for option in self.opts[command]:
              yield option
  
      def options_to_process(self, command=None):
          """ Return a consistent object for processing
              regardless of whether processing all commands
              or just one command for reset and clear """
 
</s> remove             options = [opt for opts in self.opts.values() for opt in opts]
 </s> add             options = [opt for opts in self.opts.values() for opt in opts.values()] </s> remove             sysbrowser = ["context"]
        logger.debug("sysbrowser: %s, filetypes: '%s'", sysbrowser, filetypes)
        return sysbrowser, filetypes

    def set_context_option(self, command):
        """ Set the tk_var for the source action option
            that dictates the context sensitive file browser. """
        actions = {item["opts"][0]: item["value"]
                   for item in self.gen_command_options(command)}
        for opt in self.gen_command_options(command):
            if opt["filesystem_browser"] == ["context"]:
                opt["action_option"] = actions[opt["action_option"]]
 </s> add             retval["browser"] = ["context"]
            retval["command"] = command
            retval["action_option"] = action_option
            retval["destination"] = option.get("dest", option["opts"][1].replace("--", ""))
        else:
            retval["browser"] = ["folder"]
        logger.debug(retval)
        return retval </s> remove             options = [opt for opt in self.gen_command_options(command)]
 </s> add             options = [opt for opt in self.opts[command].values()] </s> remove             if isinstance(option["value"].get(), bool):
                option["value"].set(False)
            elif isinstance(option["value"].get(), int):
                option["value"].set(0)
 </s> add             if isinstance(option["selected"].get(), bool):
                option["selected"].set(False)
            elif isinstance(option["selected"].get(), int):
                option["selected"].set(0) </s> remove         for option in self.gen_command_options(command):
            if option["control_title"] == title:
                return option["value"]
 </s> add         for opt_title, option in self.gen_command_options(command):
            if opt_title == title:
                return option["selected"]
        for key, val in self.opts[command].items():
            yield key, val
                  opt["action_option"] = actions[opt["action_option"]]
  
      def gen_command_options(self, command):
          """ Yield each option for specified command """
        for key, val in self.opts[command].items():
            yield key, val
        for key, val in self.opts[command].items():
            yield key, val
  
      def options_to_process(self, command=None):
          """ Return a consistent object for processing
              regardless of whether processing all commands
              or just one command for reset and clear """
keep keep keep keep replace replace keep keep keep keep keep
 GUI Update


- Launch in fullscreen
- Expand Control Helper. Clean up config popup
- Standardize and overhaul GUI for CliOpts 
lib/gui/options.py