Replace environment with runtime execution struct

Allow for capturing stack frame information on exceptions, as well
as nested exception handling.