refactored ProcessMonitor KISS