The real problem was with the leaderboard unit count update, since at every unit death or creation it would recount all existing units. Thats a lot of processing.. I fail at programming
Removed zerglings after wave 14, much better lag too now
Wave will pause if map has more than 800 units
Other things...
Some more terraining.
v 3.4
Greatly reduced Brood lord lag by making the Broodlings 4x stronger instead of 4x spawning rate
v 3.3
Reduced preparation time slightly for all difficulties
Reduced wave time for all difficulties
Slightly better terraining, and now with fish! I don't want to over-complicate it because I don't want extra lag..
v 3.2
Start with 2000 Minerals and 1000 Gas
Start prepare time reduced
Added difficulty selection menu
Hard: Zerg units are also super!
Gives you 4 extra minutes at start, more time between waves.