A run loop for checking non-DOM events.