Added more logging statements. Figured out the problem with abruptly terminating daemon.

It seems that python-daemon is not compatible with gevent. In the main daemon
function, changing the call from `gevent.sleep` back to `time.sleep` fixes
everything back to normal.
Updating manifest.