Better formatting for inspect strings with newlines.
Refactor extract method on error reporting
Document changes for 2.4.2.
Bump version to 2.4.2.