fn capture_settled(window: &Window) -> Result<(RgbaImage, bool)>
The window’s image, retried a little for one that has not painted yet. The second is whether it still looks unpainted.