support for actual multithreading
eliminate thread variable in dispatch loop
implement monitorenter/leave
implement synchronized methods