add sth to ProcessEvents