Added some comments to the event and event manager