bug fix for est payout when fewer than N shares exist
minor cleanup of a couple items