Completed loadDaemon monitoring code