couple of handy checks
refactor compiler and vm
fix disasm sapi
only emit line trace if not already emitted