*/
public static void createSubThreaded(String fname, JFrame parent) throws Exception {
fileName = fname;
progressMax = subtitleStream.getFrameCount();
progressLast = 0;
progress = new Progress(parent);
progress.setTitle("Exporting");
OutputMode outputMode = configuration.getOutputMode();
if (outputMode == OutputMode.VOBSUB) {
progress.setText("Exporting SUB/IDX");
} else if (outputMode == OutputMode.BDSUP) {