     @layoutManager = new IDELayoutManager delegate : this
 
     @workspace.once 'ready', => @getView().addSubView @workspace.getView()
+    @bindListeners()
 
     appManager.on 'AppIsBeingShown', (app) =>
 


      @runOnboarding()  if @isMachineRunning()

      if app.getId() is @getId() and not @layoutManager.isSnapshotRestored()
        @layoutManager.restoreSnapshot()

      @bindListeners()  unless @listenersBound


  bindListeners: ->

    @listenersBound = yes

    @on 'CloseFullScreen', =>
      [ideView] = @ideViews.filter (ideView) -> ideView.isFullScreen

    @silent    = no
    @workspace = new IDEWorkspace { layoutOptions }
    @ideViews  = []
    @layout    = ndpane 16
    @layoutMap = new Array 16 * 16

    { windowController, appManager } = kd.singletons
    windowController.addFocusListener @bound 'handleWindowFocus'
