Serial port now uses XON/XOFF.
Buffer was being trimmed incorrectly. Also added moar logging.