Added support for accumulating game events and usermessages, and added GameEvent class