Need to set up nested names appropriately for the with function so that the environment gets passed through correctly, and use abstractEnvType to get the type of the with function rather than simply binding the environment as is.
Also a tweak to errors when compiling to scheme, so that it properly reports an error then quits if it's supposed to crash.
This is now enough for Chapter 5 tests to work