Fix error reporting general and line overlap

Corrected a few typos causing line errors to be duplicated in general error output.