Fixed redundant issue with syslog initialization in main.cpp. Added a few comments.