Working build 0.3.0.

Error reporting has been added and tested.