I apologize for the double update today. But I had some spare time and there were a couple of things I desperately wanted to fix. Here they are:
* escaped the captions so double quotes can be added in the caption text.
* Added captions
parameter to shortcode, so captions can be disabled.
* Some bug fixes
Enjoy!