• more native implementations
• fix bug where maxLocals is set to -1 for no reason