Fixed some bugs and added a lobby system