ixed more stuff in lobbyserver, must change to check for -1 in
read/write to close threads appropriatey