Tested with python3 now, minor bug fixed
More informative output with errors by use of _str_()