Optimized Window::waitEvent a bit (no sleep if events are available at first try)