Cleaned up handling of undefined things like \thecoure
Check the diff

(yes, I'm a jerk for this commit notice, but
it's because I made these edits months ago
and am only commiting now. So I'm more of
an idiot than a jerk.)
A sample file illustrating usage and feature

This is far from releasable, but I wanted to get this
into git.