Make function first in stack trace.
Show more context around stack trace excerpts.

I find this is helpful when digging through stack traces.
Fix off by one error in excerpt.

excerpts were off by one when more than 2 lines of context were
extracted.
Fix failing tests.