added rudimentary error messages that are displayed to the user. They
aren't especially nice (yet).