Thumbnail generation now on separate thread. Improved error handling. Tag for release 1.02