Clean up data structure sizes and add Text to ringbuffer.