Working on better error messages

This is related to #10.  I don't consider that issue closed because I really want
to make more progress on it first.