Consolidate redundant template files.
Fix bug where caption widget showed on non-gallery pages.
Fix bug where retina images scaled improperly.
i