replace glfw with sfml