add maxLogDepth
handle errors in stringifying data to send
tidy up logging
0.4.2