Made repo movement much safer and more robust. Will no longer blindly delete everything in the old directory. Various other minor fixes (including Spread update.)