Fixes #14, Fixes #15. PID conditional for wait2.