Reworked lexer to allow distinguishing between subtract and negate tokens without tracking state.
Fixed negate/subtract lexing; fixed history indexing.
Increment output history position pointer after expression evaluation to handle conditional output.