close_window should not be passed to create_canvas.