almost completed lobby
Optimizing functionality implemented by andrew.