made many changes to support isolating multi-platform code. basic x86 instruction/operand unit tests pass, but doesn't work against test apps.