README.md update; improved error handling