Cleaned up QBit Websocket client quite a bit.