Document "drain mode"

The patch is based on the branch proposed in pull request #191, so start with that one! I'll rebase if changes are necessary in that branch.

This pull request fixes #181.