Added selectable download folder and made it so if you close the javafx
window it kills all other threads.