new glfw version, correct handling of pan, filename in attributes