Modified location for pid lock file.
Fixed bug in pid lock.
Merge pull request #26 from snwh/devel

Changed pid lock file location