Added u8-ready? and improved error handling