Yeah, finally someone who knows how to speak with a programmer :D
I will stop spawning if the number is too high. It's nearly as simple as you said.
At the moment, the spawn is totally random but I think it would be good to create even battles.
But the spawn code is veery different from yours ;)