before we were only processing one event per frame. This ensured that
not too much time is spent processing events in a single frame.
Unfortunately since we don't have persistent frame rendering, this is
not reliable.
We can look into limiting the number of events processed per frame if
message processing gets heavy.