Add a test for %, and fix a failure of #ifdef matching.
Add test of cw on the last word of the line, and fix the bug.
Add a couple of things to .gitignore.