Version 1.3 - Added logging of handled errors.