 
     @on 'PaneAdded', =>
       @tabHandleContainer.repositionPlusHandle @handles
-      if @isSessionEnabled
-        @initSession @panes.last, => @updateSession()
+      @initSession @panes.last, @bound "updateSession" if @isSessionEnabled
 
     @on 'SaveSession', (data) =>
       @appStorage.setValue @getOptions().sessionKey, data
 
-    @on "SessionItemClicked", (items) =>
-      @getDelegate().openFile FSHelper.createFileFromPath file for file in items
-
-    appView.on "AceAppDidQuit", => @removeFromSession no
+    # appView.on "AceAppDidQuit", => @removeFromSession no
 
   # session related methods
 


  initSession: (pane, callback) ->
    options     = @getOptions()
    @appStorage = new AppStorage options.sessionName, '0.1'

    @fetchStorage (data) =>
      if data then @restoreSession data, pane

        itemTxt         = if itemLen is 1 then "file" else "files"
        formattedDate   = dateFormat date.setTime(sessionId.split("_")[1]), "dd mmm yyyy - HH:MM"
        items["#{formattedDate} (#{itemLen} #{itemTxt})"] =
          callback: => @getDelegate().emit "SessionItemClicked", sessionItems

    items.separator = type: "separator"

