Make event loop use run_once/process_events
Event loop work
Merge branch 'kf/reviewme'