now correctly disposes of the webbrowser after the file has downloaded, this will save ram.
ignore