improved error wrapping, readme file updated