Multithreading: exception awareness in wrapper

Also:
* Add 'pid' field to Process::Status
* Remove legacy code