Send logging info to log4j and not System.err
formatXBeeAPIFrame should need to throw IOException
Improvements to logging.