Gallery widget improvements (title, caption and preview limit)

It would be really useful to be able to add the image title and its caption to display extra information on the lightbox view. For example the author of the image and the title itself (top left corner):

It would be also useful to be able set a preview limit of images. For example:

image

Thanks!