Bug fixes and improvements to "galleries" bundle.