add dumpcode option for debugging VM code (disabled by default)