window: properly terminate GLFW and the asset context.