cleaning up the code a little
debug to console over ui
further cleansing of ui debug
modified message

we are only shutting down the socket, not the entire server at this
point
looking to close sockets correctly
no longer quits on a fail frame
restructured the js to make it work

currently needs to obtain permission as soon as the user logs in. This
makes it work, but it's inelegant.
moved scripts into a sub directory
started with the css and js files