              logger.debug("Adding button: '%s'", btntype)
              btn = ttk.Button(
                  frame,
                  image=get_images().icons[btntype],
                  command=lambda n=name, c=config: popup_config(n, c))
              btn.pack(side=tk.LEFT, anchor=tk.W)
              hlp = "Configure {} settings...".format(name.title())
              Tooltip(btn, text=hlp, wraplength=200)
  
      @staticmethod
 
</s> remove         for name in _CONFIG_FILES:
            label = "Configure {} Plugins...".format(name.title())
            config = self.configs[name]
            self.add_command(
                label=label,
                underline=10,
                command=lambda n=name, c=config: popup_config(n, c))
        self.add_separator()
        conf = get_config().user_config
        self.add_command(
            label="GUI Settings...",
            underline=10,
            command=lambda n="GUI", c=conf: popup_config(n, c))
 </s> add         self.add_command(label="Configure Settings...",
                         underline=0,
                         command=open_popup) </s> remove         for name in _CONFIG_FILES:
            config = _CONFIGS[name]
 </s> add         for name in ("extract", "train", "convert"): </s> remove             self._config.insert_config_section(section, items["helptext"], config=new_config)
            for item, def_opt in items.items():
 </s> add             config.insert_config_section(section, items["helptext"], config=new_config)
            for item, options in items.items(): </s> remove             style = "Header.TLabel" if idx == 0 else "Body.TLabel"
 </s> add             style = "InfoHeader.TLabel" if idx == 0 else "InfoBody.TLabel" </s> remove     def scan_for_plugin_configs(self):
        """ Scan for config.ini file locations """
        global _CONFIGS, _CONFIG_FILES  # pylint:disable=global-statement
        root_path = os.path.abspath(os.path.dirname(sys.argv[0]))
        plugins_path = os.path.join(root_path, "plugins")
        logger.debug("Scanning path: '%s'", plugins_path)
        configs = dict()
        for dirpath, _, filenames in os.walk(plugins_path):
            if "_config.py" in filenames:
                plugin_type = os.path.split(dirpath)[-1]
                config = self.load_config(plugin_type)
                configs[plugin_type] = config
        logger.debug("Configs loaded: %s", sorted(list(configs.keys())))
        keys = list(configs.keys())
        for key in ("extract", "train", "convert"):
            if key in keys:
                _CONFIG_FILES.append(keys.pop(keys.index(key)))
        _CONFIG_FILES.extend([key for key in sorted(keys)])
        _CONFIGS = configs
        return configs

    @staticmethod
    def load_config(plugin_type):
        """ Load the config to generate config file if it doesn't exist and get filename """
        # Load config to generate default if doesn't exist
        mod = ".".join(("plugins", plugin_type, "_config"))
        module = import_module(mod)
        config = module.Config(None)
        logger.debug("Found '%s' config at '%s'", plugin_type, config.configfile)
        return config

 </s> add 
                command=lambda n=name: open_popup(name=n))
              logger.debug("Adding button: '%s'", btntype)
              btn = ttk.Button(
                  frame,
                  image=get_images().icons[btntype],
                command=lambda n=name: open_popup(name=n))
              btn.pack(side=tk.LEFT, anchor=tk.W)
              hlp = "Configure {} settings...".format(name.title())
              Tooltip(btn, text=hlp, wraplength=200)
  
      @staticmethod
keep keep keep keep replace keep keep keep keep keep
 GUI: Consolidate settings to single menu 
lib/gui/menu.py