Fix bug with python processes left behind. Fix bug with unset PYTHONPATH.