Some microoptimisations to lexer.
Renamed DefaultLexer to Lexer.