     @editor = null
     @runtime = null
     @connected = false
+    @project = null
     @inPorts =
       editor: new noflo.Port 'object'
       project: new noflo.Port 'object'

        @sendComponent runtime, component
    if project.graphs
      for graph in project.graphs
        continue if graph.id is project.main
        @sendGraph runtime, graph

  sendComponent: (runtime, component) ->

    @inPorts.runtime.on 'data', (runtime) =>
      @runtime.stop() if @runtime
      @runtime = runtime
      if @editor
        @connect @editor, @runtime
        @editor = null

  sendProject: (runtime, project) ->
    if project.components
