Added: various event-related functions.
More implementation of multi-room chat.
Dev. checkpoint.