Slight resilience and logging improvements
Merge branch 'master' of github.com:GideonLeGrange/xbee-gateway