translator fixes, and jit improvements