Fix destruction order. Defer destroying the GL context until the
destructor so that other GL resources can be destroyed first. This
fixes crashes on some linux GPU drivers.
Unbind pixmap from context when it is destroyed - fixes crash under xfvb.
Merge pull request #31 from glennw/fix-destroy

Fix destruction order. Defer destroying the GL context until the