updates to glfw viewer