Refactoring and misc fixes

* This is an attempt at implementing your issue #26.  It was needed to simplify implementing the next commit
* Fixes the user option for displaying updates in reverse chronological order, which I broke with an earlier update
* Fixes generating the bookmark anchor for journal updates (think I broken this one too)