Clean up LookupLedger and resolve issue 278.

* Use beast::zero to resolve issue 278.
* Rename variables and simplify logic.
* Restrict to 80 columns.