Changed so level ends when wave data is cycled and all units are dead

broef