Add some better error messages. Fixes issue #28.