make example optional
change to veresion 3 of glfw