processes pending events, then returns
Return Values:
false: the Application requested to exit true: otherwise