Bugs and cleanup

finally committing this one--fixed the d = (true == (true == false))
thing, no idea how. Made lex reject multi-character IDs. cleaned up some
of the unused stuff and some of the curToken.type checks.