Lots of fancy event processing improvements