jit.c compiles without errors and warnings
More fixes for stuff