But I still see major issues with the DB:
- If I remove a folder with just 1 image in my 2GB cache, XnView will need to write/recompute a whole 2GB temporary file to remove that 5KB thumbnail...

- XnView is still reading 20 times each segment of the DB, which I believe has severe performance hit.
Here is a screenshot of this with FileMon when entering a folder with 3 thumbnails -> each needed segment of the DB will be read about 20 times (just 2 identical segments are highlighted here, but it continues for pages and pages like this). Also notice the "db-journal" systematic error in-between.
