Fix Gallery bug that forced galleries to one-column

Also includes enhancements to captions.

Resolves #101.