Improve error handling, use more generic default url, improve README.