Cleanups.
Cleanups and fixes.
New qvar setting facility.
Base class change fixes.
Support total limiting and qvar update of spawned count.