change to new eventing

at first i was like "holy crap events all over the place". but i only
had to change the part interfacing with the event loop.

I think it makes sense or did I miss something?