WS changes and typo fix.
Put the bitwise operator back.
Use bit_opts like in the other methods, and add a <<0 as requested in PR 419.
Collapse, spell check and remove some // comments.
Merged pull request #419
Fix broken argument order in zts mode (thanks Jenkins!)