Yields control to the main event loop. After an unspecified number of events are handled, #t is returned if some events were handled or #f is returned otherwise.