Added comments to ThumbNailGenerator.java