Improved error messages when a faulty database is discovered
Fixed a bug with creating duplicate metadataset entries
Added fixes to handle common issues where the database goes awry
Fixed another bug with inserting duplicate metadatasets
Improved performance when running with all in-memory caches disabled by a factor of 16.
On a smaller dataset, the performance is now only a little more than twice as slow with a low memory footprint compared to the default with all memory caches enabled.
Fixed one more speed issue when running with low-memory, it is now only marginally slower when not using memory caches.