Better messages

Here are some better error messages which should allow closing #162 .