remove thread.js and threads.js
initialize main thread during startup
explicitly call initClass in invokeX
explicitly call initClass in get/putstatic
explicitly call initClass in newObject
remove optional init argument from getClass
inline get/setStaticField into vm