Rename pipe states to make it more mnemonic
Merge pull request #564 from hurtonm/master

Rename pipe states so they are more mnemonic