socket server only accepts 1-way json messages
updated watch-loop to use the plain websocket interface
socket setup func returns the websocket connection object
native dragging
normal build uses non-debug mode