- Added totalBytesDrained to the ring buffer to enable us to keep better track of progress.  There might be a better way to do this, but this works.