          return {key: val for key, val in self._options.items() if isinstance(val, dict)}
  
      @property
      def _dirname(self):
          """ str: The folder name that :attr:`_filename` resides in. Returns ``None`` if
          filename is ``None``. """
          return os.path.dirname(self._filename) if self._filename is not None else None
  
 
</s> remove         if not opts or opts == self._default_opts:
 </s> add         if not opts or opts == self._default_options: </s> remove         self._set_default_options()
 </s> add         self.set_default_options() </s> remove         self._options = self._default_opts
 </s> add         logger.debug("Setting options to default")
        self._options = self._default_options </s> remove         self._config.project.initialize_default_options()
 </s> add         self._config.set_default_options()
    @property
    def _default_options(self):
        """ dict: The default options for all tabs """
        return self._config.default_options

          return {key: val for key, val in self._options.items() if isinstance(val, dict)}
  
    @property
    def _default_options(self):
        """ dict: The default options for all tabs """
        return self._config.default_options

      @property
      def _dirname(self):
          """ str: The folder name that :attr:`_filename` resides in. Returns ``None`` if
          filename is ``None``. """
          return os.path.dirname(self._filename) if self._filename is not None else None
  
keep add keep keep keep keep keep keep
 bugfix: lib.gui - Remove last session file if user selects not to load 
lib/gui/project.py