added MonitorWindow class