Make the XBee fill out its mSent and mReceived, and make it a little more robust in terms of different packet sizes.