Ticket 4059

Ticket 4059: Changed behaviour of EventManager to now dispatch global and local events in priority order instead of dispatching global then local events