Fix dialog progress when exporting multiple tracks

The progress dialog never really worked when exporting multiple tracks,
fix it by making the export task able to take a list of tracks and
manage the dialog by itsef.