pidfile and changeowner
it would be nice to write the pidfile as root, i.e. before _ch_root_uid_setup in main.c this would allow to save the pidfile in a system directory (/var/run) instead of a private directory
most daemons who change their uid bahave like this (apache, squid, ntop, ...)