Hardening/bigbug02

### Description
Solved the strange bug caused by the logMsg library.
It consists of allocating the buffers instead of using the stack.
My guess is that initially the buffers were small and it was ok (more than ok, it's vital for performance) to have them on the stack, but some day (a long time ago) the buffer size grew and they stayed on the stack, causing a stack usage of over 16k (in ubuntu, currently, the default stack size is of 8k). The operating system should really detect that a process has gone over its stack limits and kill the process but that doesn't seem to happen. Instead we've seen pretty strange failures ...