Rename variables so that they don't shadow built-ins
Fix string formatting & slight refactoring
Log source data update to a per-run folder
Fix the planet update script to actually work in the future and add initial sanity checking