remove todo from readme
write a pidfile when launching with -d option

fix #1