              frame_id = idx % columns
              radio = ttk.Radiobutton(radio_holder.subframe,
                                      text=choice.title(),
                                      value=choice,
                                      variable=self.tk_var)
              if choice.lower() in helpitems:
                  self.helpset = True
                  helptext = helpitems[choice.lower()].capitalize()
                  helptext = "{}\n\n - {}".format(
                      '. '.join(item.capitalize() for item in helptext.split('. ')),
 
</s> remove                                     text=choice.title(),
 </s> add                                     text=choice.replace("_", " ").title(), </s> remove         radio_holder = AutoFillContainer(ctl, columns)
        for idx, choice in enumerate(choices):
            frame_id = idx % columns
 </s> add         radio_holder = AutoFillContainer(ctl, self.option_columns)
        for choice in self.option.choices: </s> remove                              text=self.title.replace("_", " ").title(),
 </s> add                              text=self.option.title, </s> remove             logger.debug("Adding radio option %s to column %s", choice, frame_id)
 </s> add             logger.debug("Added radio option %s", choice) </s> remove     def format_helptext(self, helptext):
        """ Format the help text for tooltips """
        if helptext is None:
            return helptext
        logger.debug("Format control help: '%s'", self.title)
        if helptext.startswith("R|"):
            helptext = helptext[2:].replace("\nL|", "\n - ").replace("\n", "\n\n")
        else:
            helptext = helptext.replace("\n\t", "\n - ").replace("%%", "%")
        helptext = ". ".join(i.capitalize() for i in helptext.split(". "))
        helptext = self.title + " - " + helptext
        logger.debug("Formatted control help: (title: '%s', help: '%s'", self.title, helptext)
        return helptext

    def set_control(self, dtype, choices, is_radio):
        """ Set the correct control type based on the datatype or for this option """
        if choices and is_radio:
            control = ttk.Radiobutton
        elif choices:
            control = ttk.Combobox
        elif dtype == bool:
            control = ttk.Checkbutton
        elif dtype in (int, float):
            control = ttk.Scale
        else:
            control = ttk.Entry
        logger.debug("Setting control '%s' to %s", self.title, control)
        return control

    def set_tk_var(self, dtype, selected_value, blank_nones):
 </s> add     def set_tk_var(self, blank_nones):
                                    variable=self.option.tk_var)
              frame_id = idx % columns
              radio = ttk.Radiobutton(radio_holder.subframe,
                                      text=choice.title(),
                                      value=choice,
                                    variable=self.option.tk_var)
              if choice.lower() in helpitems:
                  self.helpset = True
                  helptext = helpitems[choice.lower()].capitalize()
                  helptext = "{}\n\n - {}".format(
                      '. '.join(item.capitalize() for item in helptext.split('. ')),
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/control_helper.py