fixed: addDir fails to import 4-char extensions

addDir now checks chars after the last '.' in the file name, instead of the last 3 chars. Without this, images with 4-character extensions (.jpeg, .tiff, ...) were skipped.
adding if necessary
reverting unnecessary mutex locks from b388849652
not necessary
bumping versin
test