     @listenTo AccountStore, @_onAccountChanged
     @listenTo FocusedMailViewStore, @_onMailViewChanged
 
-    atom.config.observe 'core.workspace.mode', => @_autofocusForLayoutMode()
-
     # We can't create a @view on construction because the CategoryStore
     # has hot yet been populated from the database with the list of
     # categories and their corresponding ids. Once that is ready, the

          for message in messages
            messagesByThread[message.threadId].push message
          messagesByThread
      @setView(view)

    Actions.setFocus(collection: 'thread', item: null)

      else
        offset = 1

    index = Math.min(Math.max(index + offset, 0), @_view.count() - 2)
    nextKeyboard = nextFocus = @_view.get(index)

    # Remove the current thread from selection
