Add simple support for displaying context on runtime errors.

Fairly basic currently; only one type of error supported and no stack
trace.