Added dynamic MaxZombiesOnce, fixed spawn bug