Made pid detection more robust against invalid data (blank, non-numeric)
Merge pull request #662 from rogerhub/master

Made pid detection more robust against invalid data (blank, non-numeric)