Added commands to join/leave lobbies.
Added global events for when players log in, log off, and chat.
Other miscellaneous command improvements.