Removed some unused code from daemon.py and added an error catch in __init__ daemon
More comprehensive error output in logs