add syslog()-like infrastructure for debugging
use syslog() almost everywhere
fix firmware to compile with old versions of avr-gcc again