   constructor: (@uri="sclang://localhost:57120", projectRoot, @onClose) ->
     @projectRoot = projectRoot
     @ready = Q.defer()
+    @makeBus()
 
   stop: ->
     @sclang?.quit()
     @postWindow.destroy()
 
   createPostWindow: ->
-    unless @bus
-      @makeBus()
 
     onClose = () =>
       @sclang?.quit()


  makeBus: ->
    @bus = new Bacon.Bus()

  startSCLang: () ->
    opts =

        when 'compileError'
          # stdout
          # dirs
          i = 0
          for error in error.errors
            @bus.push rendering.renderParseError(error)
            error.index = i
            @emit.push(error)
            i += 1
        else
          # initFailure
          # descrepency
          # systemError
          @bus.push("<div class='error'>ERROR: #{state}</div>")
          @bus.push("<div class='pre error'>#{error}</div>")

