Switch to SWITCH_COMPARTMENT in jsloc.cpp
Change javaSessionFail to use freeJavaContext and slightly alter the definition of freeJavaContext
Merge branch 'master' of https://github.com/CMB/edbrowse
Merge error handling commits with existing changes