Fixed determination of Finder's PID

e.g., Path Finder's PID can be confused with Finder's
Merge pull request #18 from huyz/master

Improved determination of Finder's PID to prevent possible false-positives.