Fixing some issues with menu. Adding basic server connection event. See notes in app.js for more information and TODO