Fixed minor bugs with the match and wave events and expanded class functionality

The wave number for start was one off
Added a canEarn flag and another parameter in matchEnd for the result
Forgot to reset NotificationPhase for a stacked popup