Use constants to reference capture subgroups.
Handle blank slides (#124).