first pass at improving the error messages

See also issue #17 on the need for more uniformity in error messages