R3ProcessEvents
int R3ProcessEvents(R3APP *app, R3OBJ *window, ...);
app - Application context returned by R3AppCreate()
TRUE if application was terminated by natural cause.
Event processing loop. This function reads events from the asyncrhonous GUI thread and passes them to relevant windows.