tidy up IndexedDB-images experiment just a little