Changeset 18221

Fixed a bug I had introduced which closed the download panel even when the download terminated naturally. A download's display panel is only removed when its prematurely terminated, not when it ends naturally (at which point the user can manually close this).