Fixed a bug: if glEnableClientSideState(GL_COLOR_ARRAY) is called, but glColorPointer is not bound. Then the OpenGL Drawing will fail.
  In addition, the brushes buffers have been changed to a static arrary associated will all plot windows.
  This includes an additional call to glGenBuffers(...), and modified calls to glBindBuffers(...);