An event object used as a string will return its name - the event name
since php 5, no need to access objects by reference
Merge pull request #553 from splitbrain/event_handler_improvements

Event handler improvements