cleaned up commented stuff
add a unique id to the main container
remove debug prints
made a function to popup dialogs on the top of the page
got rid of socket debug prints