                       os.path.splitext(filename)[1] == ".fsw")
          if is_legacy:
              filename = self._update_legacy_task(filename)
  
          filename_set = self._set_filename(filename, sess_type=sess_type)
          if not filename_set:
              return
 
</s> remove         command = self._active_tab if current_tab else self._get_lone_task()
 </s> add         command = self._active_tab if current_tab else self._stored_tab_name
        command = self._get_lone_task() if command is None else command </s> remove         self._add_to_recent(command)
 </s> add 
            logger.debug("Legacy task found: '%s'", filename)
                       os.path.splitext(filename)[1] == ".fsw")
          if is_legacy:
            logger.debug("Legacy task found: '%s'", filename)
              filename = self._update_legacy_task(filename)
  
          filename_set = self._set_filename(filename, sess_type=sess_type)
          if not filename_set:
              return
keep add keep keep keep keep keep
 bugfix: lib.gui - Correctly handle tasks loaded from the file/recent menus 
lib/gui/project.py