Tons of bugfixes in JIT compiler