KNOWN ISSUES The double buffering flag probably shouldn't be user-settable since it appears to only work when in OpenGL mode