add syslog support, add PUT ** for restore state; can survive reboots now