Exception handling, prettification and notification of invalid input.

Fixed #4 #149 #178