Generalized daemonization
Merge pull request #29 from golems/feature/activeChanRef

Generalized daemonization