              cli_opts=cli_opts,
              tk_vars=self._set_tk_vars(),
              project=Project(self, FileHandler),
              tasks=Tasks(self, FileHandler),
              default_options=None,
              status_bar=statusbar,
              command_notebook=None)  # set in command.py
          self._user_config = UserConfig(None)
          self._style = Style(self.default_font, root, PATHCACHE)
          self._user_theme = self._style.user_theme
          logger.debug("Initialized %s", self.__class__.__name__)
  
 
</s> remove         self._gui_objects = dict(
 </s> add         self._gui_objects = _GuiObjects( </s> remove         self._pathoutput = None
        self._previewoutput = None
        self._previewtrain = {}
        self._previewcache = dict(modified=None,  # cache for extract and convert
                                  images=None,
                                  filenames=[],
                                  placeholder=None)
 </s> add         self._pathoutput: Optional[str] = None
        self._batch_mode = False
        self._previewoutput: Optional[Tuple[Image.Image, ImageTk.PhotoImage]] = None
        self._previewtrain: Dict[str, List[Union[Image.Image,
                                                 ImageTk.PhotoImage,
                                                 None,
                                                 float]]] = {}
        self._previewcache: Dict[str, Union[None, float, np.ndarray, List[str]]] = dict(
            modified=None,  # cache for extract and convert
            images=None,
            filenames=[],
            placeholder=None) </s> remove         self.commands = dict()
        self.opts = dict()
 </s> add         self.commands = {}
        self.opts = {} </s> remove         self._queue = Queue()
 </s> add         self._queue: Queue = Queue() </s> remove     def _filetypes(self):
 </s> add     def _filetypes(self) -> Dict[str, List[Tuple[str, str]]]:
            status_bar=statusbar)

              cli_opts=cli_opts,
              tk_vars=self._set_tk_vars(),
              project=Project(self, FileHandler),
              tasks=Tasks(self, FileHandler),
            status_bar=statusbar)

            status_bar=statusbar)

            status_bar=statusbar)

          self._user_config = UserConfig(None)
          self._style = Style(self.default_font, root, PATHCACHE)
          self._user_theme = self._style.user_theme
          logger.debug("Initialized %s", self.__class__.__name__)
  
keep keep keep keep replace replace replace keep keep keep keep keep
 Bugfix: Preview for extract in batch mode 
lib/gui/utils.py