          """ str: The base name of :attr:`_filename`. Returns ``None`` if filename is ``None``. """
          return os.path.basename(self._filename) if self._filename is not None else None
  
      def _current_gui_state(self, command=None):
          """ The current state of the GUI.
  
          Parameters
 
</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 
    @property
    def _stored_tab_name(self):
        """str: The tab_name stored in :attr:`_options` or ``None`` if it does not exist """
        if self._options is None:
            return None
        return self._options.get("tab_name", None)

          """ str: The base name of :attr:`_filename`. Returns ``None`` if filename is ``None``. """
          return os.path.basename(self._filename) if self._filename is not None else None
  
    @property
    def _stored_tab_name(self):
        """str: The tab_name stored in :attr:`_options` or ``None`` if it does not exist """
        if self._options is None:
            return None
        return self._options.get("tab_name", None)

      def _current_gui_state(self, command=None):
          """ The current state of the GUI.
  
          Parameters
keep keep add keep keep keep keep
 bugfix: lib.gui - Correctly handle tasks loaded from the file/recent menus 
lib/gui/project.py