@Override
							public void run() {
								RandomizerGUI.this.opDialog.setVisible(false);
								// Log tail
								verboseLog
										.println("------------------------------------------------------------------");
								verboseLog.println("Randomization of "
										+ romHandler.getROMName()
										+ " completed.");
								verboseLog.println("Time elapsed: "
										+ (System.currentTimeMillis() - startTime)
										+ "ms");
								verboseLog.println("RNG Calls: "
										+ RandomSource.callsSinceSeed());
								verboseLog
										.println("------------------------------------------------------------------");

								// Log?
								verboseLog.close();
								byte[] out = baos.toByteArray();
								verboseLog = System.out;

								if (raceMode) {
									JOptionPane.showMessageDialog(
											RandomizerGUI.this,
											String.format(
													bundle.getString("RandomizerGUI.raceModeCheckValuePopup"),
													finishedCV));
								} else {
									int response = JOptionPane.showConfirmDialog(
											RandomizerGUI.this,
											bundle.getString("RandomizerGUI.saveLogDialog.text"),
											bundle.getString("RandomizerGUI.saveLogDialog.title"),
											JOptionPane.YES_NO_OPTION);
									if (response == JOptionPane.YES_OPTION) {
										try {
											FileOutputStream fos = new FileOutputStream(
													filename + ".log");
											fos.write(0xEF);
											fos.write(0xBB);
											fos.write(0xBF);
											fos.write(out);
											fos.close();
										} catch (IOException e) {
											JOptionPane.showMessageDialog(
													RandomizerGUI.this,
													bundle.getString("RandomizerGUI.logSaveFailed"));
											return;
										}
										JOptionPane.showMessageDialog(
												RandomizerGUI.this,
												String.format(
														bundle.getString("RandomizerGUI.logSaved"),
														filename));
									}
								}
								if (presetMode) {
									JOptionPane.showMessageDialog(
											RandomizerGUI.this,
											bundle.getString("RandomizerGUI.randomizationDone"));
									// Done
									RandomizerGUI.this.romHandler = null;
									initialFormState();
								} else {
									// Compile a config string
									String configString = getConfigString();
									// Show the preset maker
									new PresetMakeDialog(RandomizerGUI.this,
											seed, configString);

									// Done
									RandomizerGUI.this.romHandler = null;
									initialFormState();
								}
							}