Now reopen STD* to /dev/null after the second fork, and change a few comments
No longer remove lockfile after unlocking