Minor fixes, improved file thumbnails