How the events are processed in Eventdisp file.