Fixed a bug that prevented periods from showing up in some environment titles like proofs. Relates to #19.