Make textures in correct OpenGL context
...and delete them in the correct context too

(otherwise you end up breaking font rendering in the Canvas window)