Added query count field for monitors. Added admin filtering by
is_monitor. Improved logic for detecting and clear stale cron PID.
Added new field to store monitor records.