Got xbee working and now using a programmer board instead of the arduio bootloader
Next i'm going to remove all this extra code