Expose formatSig() for other users.
New popup ctor.
Factor out doc formatting.

Much more work todo here, but this is a good start.