Start removing global state from opcode processing
Continued work to remove global state