Fixes to make certain handles/contexts persistent to prevent them being garbage collected. Also setup the main isolate outside of the Env
many, many fixes. So many fixes