Made thumbnails a bit more portable.

Side-effect: the thumbnails are now larger.