Added AppGallery.deleteThumbnails() method.