  #!/usr/bin/env python3
  """ Utility functions for the GUI """
  import logging
  import os
  import platform
  import sys
 
</s> remove _CONFIG = None
_IMAGES = None
_PREVIEW_TRIGGER = None
 </s> add _CONFIG: Optional["Config"] = None
_IMAGES: Optional["Images"] = None
_PREVIEW_TRIGGER: Optional["PreviewTrigger"] = None </s> remove     def pathcache(self):
 </s> add     def pathcache(self) -> str: </s> remove         return self._gui_objects["cli_opts"]
 </s> add         return self._gui_objects.cli_opts
from dataclasses import dataclass, field
  #!/usr/bin/env python3
  """ Utility functions for the GUI """
from dataclasses import dataclass, field
  import logging
  import os
  import platform
  import sys
keep add keep keep keep keep
 Bugfix: Preview for extract in batch mode 
lib/gui/utils.py