          self._previewtrain[name][1] = ImageTk.PhotoImage(displayimg)
  
  
  class Config():
      """ The centralized configuration class for holding items that should be made available to all
      parts of the GUI.
  
      This class should be initialized on GUI startup through :func:`initialize_config`. Any further
 
</s> remove     def __init__(self):
 </s> add     def __init__(self) -> None: </s> remove def initialize_images():
 </s> add def initialize_images() -> None: </s> remove def initialize_config(root, cli_opts, statusbar):
 </s> add def initialize_config(root: tk.Tk,
                      cli_opts: "CliOptions",
                      statusbar: "StatusBar") -> Optional["Config"]: </s> remove     def icons(self):
 </s> add     def icons(self) -> Dict[str, ImageTk.PhotoImage]:
@dataclass
class _GuiObjects:
    """ Data class for commonly accessed GUI Objects """
    cli_opts: "CliOptions"
    tk_vars: Dict[str, Union[tk.BooleanVar, tk.StringVar]]
    project: Project
    tasks: Tasks
    status_bar: "StatusBar"
    default_options: Dict[str, Dict[str, Any]] = field(default_factory=dict)
    command_notebook: Optional["CommandNotebook"] = None


          self._previewtrain[name][1] = ImageTk.PhotoImage(displayimg)
  
  
@dataclass
class _GuiObjects:
    """ Data class for commonly accessed GUI Objects """
    cli_opts: "CliOptions"
    tk_vars: Dict[str, Union[tk.BooleanVar, tk.StringVar]]
    project: Project
    tasks: Tasks
    status_bar: "StatusBar"
    default_options: Dict[str, Dict[str, Any]] = field(default_factory=dict)
    command_notebook: Optional["CommandNotebook"] = None


  class Config():
      """ The centralized configuration class for holding items that should be made available to all
      parts of the GUI.
  
      This class should be initialized on GUI startup through :func:`initialize_config`. Any further
keep keep add keep keep keep keep keep
 Bugfix: Preview for extract in batch mode 
lib/gui/utils.py