Improve error-handling for scanner

Added underlining of problematic tokens. Removed an error that would
never reached. Improved wording an a couple of errors.