Set contents size based on available height, not total height
Run epub hash through MD5, to get a consistent length
Save styles in book settings, rather than in cookies

This insulates us against future changes in the WebView component.

In the process, we fixed how to call the databaseTimer trigger.