Implemented Bryant's circular buffer to work with the UART. It kinda works. Only writes up to 33kb.