Hardening/cppcheck issues

### Description
- 41 of 42 issues raised by cppcheck fixed (one one left is a false positive).
- SIGUSR1/SIGUSR2 a little better - but it still needs to be thoroughly tested
- All macros in logMsg.h now have an indentaton of two spaces (entire file changed - pay no attention to it during review)