Fixed some cases where a JB_Env from one thread was used in another thread: required some rewrite of object lifecycle code
issue #1154 - have to use two-step process to set folder choice
issue #1157 - remove uses of GetDirectory and replace with GetPath
Need to explicitly start AWT in killvmplugin
change code to detect case where vm hasn't started in kill_vm