Add pf(), pen 2nd argument, and improve readnum to handle decimals.