Fix file permissions.
Remove trailing whitespace
Fix code style issues.
Remove asserts
Merge pull request #15 from antoinealb/master

Small fixups of PID config