add a runtime abstraction
keep the mainThread on the runtime
Merge branch 'master' of github.com:andreasgal/j2me.js