Currently events are not that nice to work with, various bits of confusion due to the way params are grabbed.
registerEvent($event){} but we pass more than defined to the eventHandler. So its not easy to follow.
This should be moved to events being object possible with lazy static constructors.