hand back pid more explicitly and robustly, bump version number