Alot of small optimizations, removal of dead code. Added alot of code comments and some TODOs should come back to. Changed the way network activity works, network activity will now start game directly without first trying a seperate connection with client.