added gamemodes, description and wall types
checking sockets before connect or disconnect, fixed minor bugs
Merge branch 'master' into network_json