Fixed up routing of messages and added a full debugging UI for the websocket API.
trying to set up for heroku.