made event-thread sleep easier to understand and work with