replacing glLoadGenerator a.k.a glLoadGen instead of GLEW
fixed compilation errors of mixing glloadgen and GLEW
prevent empty url when exporting, toggle motion state at playing