Always return error messages when an error occured

Please note that I changed the error handling to how it is normally handled in Node (first callback argument to be the error, instead of true (and the second argument being the error message)).