Many bug fixes. Emulator currently seems to run instructions correctly on games tested.