     {windowController} = kd.singletons
     windowController.addFocusListener @bound 'setActivePaneFocus'
 
-    workspace.once 'ready', =>
-      panel = workspace.getView()
-      appView.addSubView panel
-
-      panel.once 'viewAppended', =>
-        ideView = panel.getPaneByName 'editorPane'
-        @setActiveTabView ideView.tabView
-        @registerIDEView  ideView
-
-        splitViewPanel = ideView.parent.parent
-        @createStatusBar splitViewPanel
-        @createFindAndReplaceView splitViewPanel
-
-        appView.emit 'KeyViewIsSet'
-
-        @createInitialView()
-        @bindCollapseEvents()
-
-        {@finderPane, @settingsPane} = @workspace.panel.getPaneByName 'filesPane'
-
-        @bindRouteHandler()
-        @initiateAutoSave()
-        @emit 'ready'
+    @workspace.once 'ready', -> @getView().addSubView @workspace.getView()
 
     kd.singletons.appManager.on 'AppIsBeingShown', (app) =>
 

      @resizeActiveTerminalPane()

    @localStorageController = kd.getSingleton('localStorageController').storage 'IDE'


  bindRouteHandler: ->

        machineItem = new Machine machine: machineItem

      @mountedMachine = machineItem

      @prepareIDE()

      callback = =>

