Fixes and improvements to: renaming to named "nice" variables, especially in existential types; separating substitution out of a formula.