                      self.previewtrain[name] = None
  
      def get_current_size(self, name):
          """ Return the size of the currently displayed image """
          if not self.previewtrain.get(name, None):
              return None
          img = self.previewtrain[name][1]
          if not img:
 
</s>
        logger.debug("Getting size: '%s'", name)
                      self.previewtrain[name] = None
  
      def get_current_size(self, name):
          """ Return the size of the currently displayed image """
        logger.debug("Getting size: '%s'", name)
          if not self.previewtrain.get(name, None):
              return None
          img = self.previewtrain[name][1]
          if not img:
keep keep keep add keep keep keep keep
 Add right click menu to GUI. Implement some GUI Logging
lib/gui/utils.py