This code is cooler than Matt thinks it is.

Wrap-up of editOnClick, now with 99% less nonsense than when it began (up from 98%)