- Fixed possible errors on thumbnail generation.
- Progressive thumbnails in gallery.