Status packet: added flash logging information

- report whether  we are logging, and number of free flash blocks
- fix compilation issue in main.c when logging is disabled at compile
time