Reading serial output of Xbee radios properly and cleanly