fixes memory leak if exif thumbnails are loaded + documentation
minor changes