allow to enable/use a pidfile

+ updated dependencies