Rename captureFlag() to takeFlag(). Fixes #216