The rules are now very simple: if we wake up and it's not interesting then we sleep for a given amount of time (100ms) before checking again. Also: introduce a smarter mechanism for getting all of the events currently in the buffer.