More error handling. Fix README markup.