  import platform
  import sys
  import tkinter as tk
  
  from tkinter import filedialog
  from threading import Event, Thread
  from queue import Queue
  
  import numpy as np
  
 
</s> remove                                            self.option.sysbrowser)
 </s> add                                            self.option.sysbrowser,
                                           self._style)

        theme = get_config().user_theme["group_box"]
        if self.option.control == tk.Entry:
            ctl = self.option.control(self.frame,
                                      textvariable=self.option.tk_var,
                                      font=get_config().default_font,
                                      bg=theme["input_color"],
                                      fg=theme["input_font"],
                                      highlightbackground=theme["input_font"],
                                      highlightthickness=1,
                                      bd=0)
        else:  # Combobox
            ctl = self.option.control(self.frame,
                                      textvariable=self.option.tk_var,
                                      font=get_config().default_font,
                                      state="readonly",
                                      style="Group.TCombobox")

            # Style for combo list boxes needs to be set directly on widget as no style parameter
            key = "settings_popup" if self._style.startswith("SPanel") else "control_panel"
            select_key = get_config().user_theme[key]
            cmd = f"[ttk::combobox::PopdownWindow {ctl}].f.l configure -"
            ctl.tk.eval(f"{cmd}foreground {theme['font_color']}")
            ctl.tk.eval(f"{cmd}background {theme['background']}")
            ctl.tk.eval(f"{cmd}selectforeground {select_key['header_color']}")
            ctl.tk.eval(f"{cmd}selectbackground {select_key['secondary_color']}") </s> remove         canvas_kwargs = dict(bd=0, highlightthickness=0)
        if self._style == "CPanel.":
            canvas_kwargs["bg"] = "#CDD3D5"
        if self._style == "SPanel.":
            canvas_kwargs["bg"] = "#DAD2D8"
 </s> add         lookup = "settings_popup" if self._style.startswith("SPanel") else "control_panel"
        theme = get_config().user_theme[lookup]
        canvas_kwargs = dict(bd=0, highlightthickness=0, bg=theme["secondary_color"])
from tkinter import filedialog, ttk
  import platform
  import sys
  import tkinter as tk
  
from tkinter import filedialog, ttk
  from threading import Event, Thread
  from queue import Queue
  
  import numpy as np
  
keep keep keep keep replace keep keep keep keep keep
 GUI updates
  - Control panel fixes
  - Basic themeing support
  - Fix tools to display more natively
  - Give all config items a group 
lib/gui/utils.py