- fixed garbelled debug message
- use safer memmove than memcpy for buffered transmit of data for logger