initial integration to a generic event loop, see eventloop.d in my misc repo and use -version=with_eventloop