clenaup
split daemonize into 3 methods
spawn function; close STDIN rather than open /dev/null; return log IO from detach