Added display or error messages

Fixes #50