Made the reactor loop very explicitly only process one event at a time, as it can easily break if it tries to handle lots.