Added priority system to the event thingy
tests should pass in 5.3