Port to the new HLedger lib that's based on Decimal numbers instead of Double.
Minor cosmetic updates.