tweaks to ProcessRunner code