       proto.transport.send 'component', 'component', component, ctx
 
   else if sub == 'component' and cmd == 'getsource'
-    return console.log 'ERROR: cannot get source for #{payload.name}' if payload.name != defaultGraph
+    return debug 'ERROR: cannot get source for #{payload.name}' if payload.name != defaultGraph
 
     sendSource = () ->
       graph = proto.coordinator.serializeGraph 'main'

    proto.coordinator.removeInitial payload.tgt.node, payload.tgt.port
    proto.transport.sendAll 'graph', 'removeinitial', payload
  else
    console.log 'Unhandled FBP protocol message: ', 'graph', cmd

class Protocol
  constructor: (@transport, @coordinator) ->

      handleMessage @, protocol, command, payload, ctx

    @coordinator.on 'data', (from, fromPort, to, toPort, data) =>
      debug 'on data', from, fromPort, data

      id = "#{from}() #{fromPort.toUpperCase()} -> #{toPort.toUpperCase()} #{to}()"
      msg =
