Improved error and logging output
Bumped version to 1.2.0