added very basic version of GetThumbnail()