Introduce ourstrwidth and ourshowcompact as indirection

This allows us to print strings without quote marks at the same time
that we print numbers in low precision mode. It will let us customize
printing more easily in the future.