Improvements to error handling and readme updates.