modified window_glfw3