Modify daemon to act as a well behaved Unix daemon
Merge pull request #46 from umzegher/daemon

Modify daemon to act as a well behaved Unix daemon