Added explosion prevention within galleries.

This fixes #23.