spam abort() messages to stderr as well
assert in btest on successful compilation
make legacy gl emulation an opt-in option, LEGACY_GL_EMULATION