More changes to get XBeeTask to work and the base station.