New: better process handling
Merge pull request #46 from datasift/feature/process-handling2

New: better process handling