Drastically reduced overhead of event handler registry; fixed polymorphic event listening.