Making URL magic writing and cleaning happen. This was harder stuff.