Modify IdleManager to use CPU as a measure to identify if a process is

idling

Fixes #485