Cleaning up parsedBody and parseError.
Fixing selection to be lineNumber 1-indexed.