Dont use lines of context if they appear too long
Trim various keys in stacktrace