Updated some of the error messages, and changed the seg_bytes_left to type unsigned