Cleaned up process monitoring.
Merge pull request #240 from arb/clean-process

Cleaned up Process monitoring