updated MainGLFW demo