Removed the buffering code since we will rely on the buffering in the serial port routines