              # an argument that has a member that points to the thread.
              del self._target, self._args, self._kwargs
  
      def get_result(self):
          """ Return the result from the queue """
          if not self.complete.is_set():
              logger.warning("Aborting attempt to retrieve result from a LongRunningTask that is "
                             "still running")
              return None
          if self.err:
              logger.debug("Error caught in thread")
 
</s> remove             self.complete.set()
            # Avoid a refcycle if the thread is running a function with
 </s> add             self._complete.set()
            # Avoid a ref-cycle if the thread is running a function with </s> remove             self._config.set_cursor_default(widget=self.widget)
 </s> add             self._config.set_cursor_default(widget=self._widget) </s> remove         self._config.set_cursor_default(widget=self.widget)
 </s> add         self._config.set_cursor_default(widget=self._widget) </s> remove         logger.debug("Displaying preview: %s", self.previewcache["filenames"])
        self.previewoutput = (show_image, ImageTk.PhotoImage(show_image))

    def get_newest_filenames(self, imagefiles):
        """ Return image filenames that have been modified since the last check """
        if self.previewcache["modified"] is None:
            retval = imagefiles
 </s> add         logger.debug("Displaying preview: %s", self._previewcache["filenames"])
        self._previewoutput = (show_image, ImageTk.PhotoImage(show_image))

    def _get_newest_filenames(self, image_files):
        """ Return image filenames that have been modified since the last check.

        Parameters
        ----------
        image_files: list
            The list of image files to check the modification date for

        Returns
        -------
        list:
            A list of images that have been modified since the last check
        """
        if self._previewcache["modified"] is None:
            retval = image_files
        """ Return the result from the given task.

        Returns
        -------
        varies:
            The result of the thread will depend on the given task. If a call is made to
            :func:`get_result` prior to the thread completing its task then ``None`` will be
            returned
        """
        if not self._complete.is_set():
              # an argument that has a member that points to the thread.
              del self._target, self._args, self._kwargs
  
      def get_result(self):
        """ Return the result from the given task.

        Returns
        -------
        varies:
            The result of the thread will depend on the given task. If a call is made to
            :func:`get_result` prior to the thread completing its task then ``None`` will be
            returned
        """
        if not self._complete.is_set():
        """ Return the result from the given task.

        Returns
        -------
        varies:
            The result of the thread will depend on the given task. If a call is made to
            :func:`get_result` prior to the thread completing its task then ``None`` will be
            returned
        """
        if not self._complete.is_set():
              logger.warning("Aborting attempt to retrieve result from a LongRunningTask that is "
                             "still running")
              return None
          if self.err:
              logger.debug("Error caught in thread")
keep keep keep keep replace replace keep keep keep keep keep
 GUI Updates (#940)

* lib.gui: Update icons
* tools.cli: Add video filetype flag to mask input
* lib.gui.popup_configure: Refresh GUI on config save
* lib.gui._config: Add Icon size and load last session options
* lib.gui.control_helper - Add control modification tracking
* lib.gui - Add Projects and Last Session
- Main root title handled by projects
- Add Hotkeys
- Create projects module
- split fsw and fst filetypes
- Add last_session saving

* lib.project
- Documentation
- Ask confirm on closing unsaved project
-Fixups

* Track model folder changes
- Shuffle some globals
- Activate System Verbosity for GUI

* lib.gui.utils - Documentation and clean up
- lib.gui.custom_widgets - Create and document

* Add GUI config option to disable auto loading model stats 
lib/gui/utils.py