Remove a debugging statement, and add some more logging code to failing thumbnails