Support for small databases and relx releases

These are a few minor changes I've made to support my ego-dependent project.  The most substantial is the support for small databases. The rest are just minor housekeeping items.