Add optional 'self' parameter when subscribing to messages so that 'this' is correct in the callback
Move trail change into the prototype for GraphView