Alternate coin-mode restoration

Thought I'd post this here as well to see how it compares to root's work in #20, in case either of us missed something.  I've been keeping a parallel branch since the last coin-mode removal, with proper reverts on the removal commits.