Update mond.c

Added monitored items list, changed function structure, and other bug-inducing stuff.