              self._toggle_var.set(1)
          self._icon_var = tk.StringVar()
          self._icon_var.set("-" if self.is_expanded else "+")
  
          theme = "CPanel" if not theme else theme
          theme = theme[:-1] if theme[-1] == "." else theme
          self._build_header(theme)
  
          self.sub_frame = tk.Frame(self, name="toggledframe_subframe", highlightthickness=1, bd=0)
          if self.is_expanded:
              self.sub_frame.pack(fill=tk.X, expand=True)
 
</s> remove         self.sub_frame = tk.Frame(self, name="toggledframe_subframe", highlightthickness=1, bd=0)
 </s> add         self.sub_frame = ttk.Frame(self, style=f"{theme}.Subframe.Group.TFrame", padding=1)
 </s> remove         super().__init__(parent, *args, **kwargs)
 </s> add         theme = "CPanel" if not theme else theme
        theme = theme[:-1] if theme[-1] == "." else theme
        super().__init__(parent, *args, style=f"{theme}.Group.TFrame", **kwargs) </s> remove         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"])
 </s> add         canvas_kwargs = dict(bd=0, highlightthickness=0, bg=self._theme["panel_background"]) </s> remove         theme = get_config().user_theme["group_box"]
 </s> add  </s> remove         theme = get_config().user_theme["group_box"]
 </s> add 
              self._toggle_var.set(1)
          self._icon_var = tk.StringVar()
          self._icon_var.set("-" if self.is_expanded else "+")
  


          self._build_header(theme)
  
          self.sub_frame = tk.Frame(self, name="toggledframe_subframe", highlightthickness=1, bd=0)
          if self.is_expanded:
              self.sub_frame.pack(fill=tk.X, expand=True)
keep keep keep keep replace replace keep keep keep keep keep
 Minor Updates
  - GUI - Tweaks
    - Fix Analysis Slider background color
    - More granular theming controls
    - Standardize comboboxes and scrollbars
  - plugins.train.model._base
      - Catch more model corruption errors 
lib/gui/custom_widgets.py