Comments and bug fixes

commented server code
fixed joining bugs
fixed a couple game process bugs