embd: optional sdl, vm: exit, trace