delete local archive when done
seems to work but must put main panel and dialog in separate threads