Updated to stop buffer overflows by discarding the incoming buffer every time we write to the LCD.