More interface refinements, fix a potential crash in calculating outstanding balance for patients with no transaction history.