uncommented daemonize(), deleted misc commented out code