Simplify event-loop core, remove two-step event processing