Fix bugs related to finding PIDs.
 -Erik
14 files changed