Almost done, have to fix DebugLitCode to use the current offset not the argument.