Added lexical handling of unterminated strings: caught by Preprocessor.
Improved error reporting in Preprocessor and Planner