Added PID file parts and fixed up typo in Makefile
(and added license / copyright info)