Rework of oglwrap context.