Now the thumbnails get cached as long as we are in the same folder. Also reworked the check for whether a file is locked, unlocked or being processed, so basically fixing a part of #77