Added functions for wave starting, ending, and match ending