Switched EventMgr to use array instead of PriorityQueue