don't print error on unlink twice.
make it possible to be verbose when flusing staged files
remove obsolete comments
minor documentation update