background images downloading thread is now cancelled when closing the MainFrame