Added Docs For Process, PIDFile and some minor sanity checks