Added support for switching OPI buffer to emulator

Fixes #107
This uses a new property (errors.prefix) rather than relying on oz.standalone and magic values in the emulator.