Some last minute changes for SirRango
Add some safety checks for bad configs.
Fix bad default config.
Fix the iterate spell working with the clone and replicate materials.