Update daemon.py

Fleshed out a few more features.