      def load_training_preview(self):
          """ Load the training preview images """
          imagefiles = self.get_images(self.pathpreview)
          modified = None
          if not imagefiles:
              logger.debug("No preview to display")
              self.previewtrain = dict()
 
</s>
        logger.debug("Loading Training preview images")
      def load_training_preview(self):
          """ Load the training preview images """
        logger.debug("Loading Training preview images")
          imagefiles = self.get_images(self.pathpreview)
          modified = None
          if not imagefiles:
              logger.debug("No preview to display")
              self.previewtrain = dict()
keep add keep keep keep keep keep
 Add right click menu to GUI. Implement some GUI Logging
lib/gui/utils.py