          image_files = self._get_newest_filenames(image_files)
          if not image_files:
              return
  
          self._load_images_to_cache(image_files, frame_dims, thumbnail_size)
          if image_files == [gui_preview]:
              # Delete the preview image so that the main scripts know to output another
              logger.debug("Deleting preview image")
              os.remove(image_files[0])
          show_image = self._place_previews(frame_dims)
 
</s> remove             return
 </s> add             return False
        if not self._load_images_to_cache(image_files, frame_dims, thumbnail_size):
            logger.debug("Failed to load any preview images")
            if gui_preview in image_files:
                # Reset last modified for failed loading of a gui preview image so it is picked
                # up next time
                self._previewcache["modified"] = None
            return

          image_files = self._get_newest_filenames(image_files)
          if not image_files:
              return
  
        if not self._load_images_to_cache(image_files, frame_dims, thumbnail_size):
            logger.debug("Failed to load any preview images")
            if gui_preview in image_files:
                # Reset last modified for failed loading of a gui preview image so it is picked
                # up next time
                self._previewcache["modified"] = None
            return

          if image_files == [gui_preview]:
              # Delete the preview image so that the main scripts know to output another
              logger.debug("Deleting preview image")
              os.remove(image_files[0])
          show_image = self._place_previews(frame_dims)
keep keep keep keep replace keep keep keep keep keep
 bugfix: lib.gui.utils - Catch permission error on preview image load 
lib/gui/utils.py