         if termView.term
           termView.term.constructor._textarea = atomPane
 
-    id = model.id
-    termView.id = id
-
     subscriptions.add termView.onExit () ->
-      Terminals.remove id
-
-    subscriptions.add termView.onDidChangeTitle () ->
-      if forkPTY
-        model.title = termView.getTitle()
-      else
-        model.title = title + '-' + termView.getTitle()
-
-    item = pane.addItem termView
-    pane.activateItem item
+      Terminals.remove termView.id
+
     subscriptions.add pane.onWillRemoveItem (itemRemoved, index) =>
       if itemRemoved.item == item
         item.destroy()
-        Terminals.remove id
+        Terminals.remove termView.id
         @disposables.remove subscriptions
         subscriptions.dispose()
-    @disposables.add subscriptions
+
+    subscriptions
+
+  newTerm: (forkPTY=true, rows=30, cols=80, title='tty') ->
+    termView = @createTermView forkPTY, rows, cols, title
+    pane = atom.workspace.getActivePane()
+    item = pane.addItem termView
+    @disposables.add @attachSubscriptions(termView, item, pane)
+    pane.activateItem item
     termView
 
-  createTermView: (forkPTY=true, rows=30, cols=80) ->
+  createTermView: (forkPTY=true, rows=30, cols=80, title='tty') ->
     opts =
       runCommand    : atom.config.get 'term3.autoRunCommand'
       shellOverride : atom.config.get 'term3.shellOverride'

        item = pane.addItem termView
        pane.activateItem item
        @focusedTerminal = [pane, item]
      else
        splitter()
    else

  onTerm: (callback) ->
    @emitter.on 'term', callback

  attachSubscriptions: (termView, item, pane) ->
    subscriptions = new CompositeDisposable

    subscriptions.add pane.onDidActivate ->
      console.log "DID ACTIVATE"
      if pane.getActiveItem() == item
        @focusedTerminal = termView
        termView.focus()

    subscriptions.add pane.onDidChangeActiveItem (activeItem) ->
      console.log "DID CHANGE ACTIVE ITEM", activeItem
      if activeItem != termView
        if termView.term
          termView.term.constructor._textarea = null
