Add flush operation

Refs #1678
Merge branch 'master' of github.com:M66B/XPrivacy