Move client message handling to separate functions
Clean up synchronous start
Fix synchronous end
Initial code for creating and hiding overlay divs
startGame overlay and create all buttons via javascript