Lobby implemented, general refactorization.