      def clear_image_cache(self):
          """ Clear all cached images """
          self.pathoutput = None
          self.previewoutput = None
          self.previewtrain = dict()
  
 
</s>
        logger.debug("Clearing image cache")
      def clear_image_cache(self):
          """ Clear all cached images """
        logger.debug("Clearing image cache")
          self.pathoutput = None
          self.previewoutput = None
          self.previewtrain = dict()
  
keep add keep keep keep keep
 Add right click menu to GUI. Implement some GUI Logging
lib/gui/utils.py