  
          self._globals = tk_globals
          self._det_faces = detected_faces
  
          self._actions_frame = ActionsFrame(self)
          main_frame = ttk.Frame(self)
  
          self._transport_frame = ttk.Frame(main_frame)
          self._nav = self._add_nav()
 
</s> remove             landmark = aligned.landmarks[landmark_index]
 </s> add             landmark = aligned.landmarks[landmark_index]  # pylint:disable=unsubscriptable-object </s> remove                 output = "{}_{}{}".format(frame_name, str(face_idx), extension)
 </s> add                 output = "{}_{}{}".format(frame_name, str(face_idx), ".png") </s> remove                 wgt = self._add_filter_mode_combo(frame)
 </s> add                 wgt = self._add_filter_section(frame)
        self._optional_widgets = dict()
  
          self._globals = tk_globals
          self._det_faces = detected_faces
        self._optional_widgets = dict()
  
          self._actions_frame = ActionsFrame(self)
          main_frame = ttk.Frame(self)
  
          self._transport_frame = ttk.Frame(main_frame)
          self._nav = self._add_nav()
keep keep add keep keep keep keep keep keep
 Add Misalignment Detection
  - lib.align.AlignedFace - Add average_distance property (distance from mean_face)
  - tools.manual - Add misaligned Faces filter
  - tools.sort - Add sort by distance (misaligned sort)Add "Misaligned Faces" filter to manual tool 
tools/manual/frameviewer/frame.py