Fix some UART bugs introduced when we switched to the generalized ringbuffer implementation
.  TODO: Fix print with long buffers.