Improve error messages.

* Some error messages rephrased to be more user-friendly.
* Consistently have a full stop at the end of an error message.
* Improved consistency.