Oi.
Moved map toolbar to own partiol, only included if needed.
Made the websocket more robust

Requests are wrapped in the connect defer so they won't be
prematurely rejected.
Fixed attach for websocket objects.
Fixed up layers ctrl
Made layers menu actually list layers.
toolbar now now even included for non-map grid.
Removed commented out code.
Added eye-con (get it?) to visible layers.

Bottom layer visible by default
Adding layers works.
Added logging, and fixed delete layer bug.
Deleting layers works now.
toggle layer visibility.