fixing off-by-one-token errors, and an initial stab at unterminated strings (which gives a much more plausible error than just complaining about the next character...)  that latter will need to be made better, but it's a decent start for now.