Hotfix for levels

added wave ending proc to wave generator at 5 seconds after the end of
waveLength, so wavelemngth of three will end at 8 seconds