          """ Handle the mouse events """
          # pylint: disable=no-member
          if self.interface.get_edit_mode() != "Edit":
              return
          if not self.mouse_state and event not in (cv2.EVENT_LBUTTONDOWN,
                                                    cv2.EVENT_MBUTTONDOWN):
              return
  
          self.initialize()
  
          if event in (cv2.EVENT_LBUTTONUP, cv2.EVENT_MBUTTONUP):
 
</s> remove         if not no_dims and not rotated:
 </s> add         hashes = self.alignments.get_legacy_no_hashes()
        if not no_dims and not rotated and not hashes: </s> remove         if self.child_process and not rotated and not no_dims:
 </s> add         hashes = self.alignments.get_legacy_no_hashes()
        if (not self.frames or (not no_dims and not rotated)) and (not self.faces or not hashes):
        logger.trace("Mouse event: (event: %s, x: %s, y: %s, flags: %s, param: %s",
                     event, x, y, flags, param)
        if not self.mouse_state and event not in (cv2.EVENT_LBUTTONDOWN, cv2.EVENT_MBUTTONDOWN):
          """ Handle the mouse events """
          # pylint: disable=no-member
          if self.interface.get_edit_mode() != "Edit":
              return
        logger.trace("Mouse event: (event: %s, x: %s, y: %s, flags: %s, param: %s",
                     event, x, y, flags, param)
        if not self.mouse_state and event not in (cv2.EVENT_LBUTTONDOWN, cv2.EVENT_MBUTTONDOWN):
        logger.trace("Mouse event: (event: %s, x: %s, y: %s, flags: %s, param: %s",
                     event, x, y, flags, param)
        if not self.mouse_state and event not in (cv2.EVENT_LBUTTONDOWN, cv2.EVENT_MBUTTONDOWN):
              return
  
          self.initialize()
  
          if event in (cv2.EVENT_LBUTTONUP, cv2.EVENT_MBUTTONUP):
keep keep keep keep replace replace keep keep keep keep keep
 Add Face Hashes to Alignments (#550)

* Convert main scripts to use face hashes

* Alignment tool: Use hashes, add logging, add face rename function

* More logging. Update Manual tool to work with hashing 
tools/lib_alignments/jobs_manual.py