Issues found by cppcheck fixed

- Error: Uninitialized variable: column_advance.
- Warning: Possible null pointer dereference: daemon - otherwise it is redundant to check it against null.