a bit of cleanup, bit of mongo stuff, fixed chat server switching
upgraded to latest saltarelle, extracted client libraries out for unit testing and server slamming.