fixing exception double-printing and updating the events manager so that events come out immediately (instead of waiting for the scheduler, which caused issues when using fibers/futures)