Testing/Debug program for watching the monitor's state