Added yield after an event wait, speeds things up a bit