          self._constants = dict(
              root=root,
              scaling_factor=self._get_scaling(root),
              default_font=self._default_font)
          self._gui_objects = dict(
              cli_opts=cli_opts,
              tk_vars=self._set_tk_vars(),
              project=Project(self, FileHandler),
              tasks=Tasks(self, FileHandler),
              default_options=None,
 
</s> remove             default_options=None,
            status_bar=statusbar,
            command_notebook=None)  # set in command.py
 </s> add             status_bar=statusbar)
 </s> remove         self._default_font = tk.font.nametofont("TkDefaultFont").configure()["family"]
 </s> add         self._default_font = cast(dict, tk.font.nametofont("TkDefaultFont").configure())["family"] </s> remove     def __init__(self, root, cli_opts, statusbar):
 </s> add     def __init__(self, root: tk.Tk, cli_opts: "CliOptions", statusbar: "StatusBar") -> None: </s> remove     def _filetypes(self):
 </s> add     def _filetypes(self) -> Dict[str, List[Tuple[str, str]]]: </s> remove         analysis_folder.set(None)

        tk_vars = dict(display=display,
                       runningtask=runningtask,
                       istraining=istraining,
                       action=actioncommand,
                       generate=generatecommand,
                       console_clear=console_clear,
                       refreshgraph=refreshgraph,
                       updatepreview=updatepreview,
                       analysis_folder=analysis_folder)
 </s> add         analysis_folder.set("")

        tk_vars: Dict[str, Union[tk.StringVar, tk.BooleanVar]] = dict(
            display=display,
            runningtask=runningtask,
            istraining=istraining,
            action=actioncommand,
            generate=generatecommand,
            console_clear=console_clear,
            refreshgraph=refreshgraph,
            updatepreview=updatepreview,
            analysis_folder=analysis_folder)
        self._gui_objects = _GuiObjects(
          self._constants = dict(
              root=root,
              scaling_factor=self._get_scaling(root),
              default_font=self._default_font)
        self._gui_objects = _GuiObjects(
              cli_opts=cli_opts,
              tk_vars=self._set_tk_vars(),
              project=Project(self, FileHandler),
              tasks=Tasks(self, FileHandler),
              default_options=None,
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Preview for extract in batch mode 
lib/gui/utils.py