Rebuild thumbnails feature added. Minor tweaks.