remimplemented xbee.py as a thread, logs sent by request only
will only send back the data logs if requested