Fixes db locking. Adds other improvements:

- The footer text can be changed in settings
  * it is also run through markdown
- The markdown renderer to use is created on startup
- Settings are loaded on startup
- Links in footers are now black
- More up to date leveldb library used
- Adds a generic error handler