waveMax field and waveNumber checker (to gameUpdate) added. Solves an issue with the waves.
waveChecker removed from switch/case.