Bug fixes

Some bug fixes re: menus and their transitions.
Also fixed some server side stuff re: gamesManager.js