gallery legacy fixes and bootstrap-lightbox additions, captions for galleries, close #103