fixed error where high bit leaks into ASCII field, cleaned up ring
buffer methods.