added monitor_type detection to popup menu