Cyclic error messages now detail the cycle.

Closes #166.