lpd.setLocationRelativeTo(null);
lpc.setListingProgressListener(lpd);
lpd.setModal(false);
lpd.setVisible(true);
lpc.start().join();
lpd.processingFinished();
lpd.dispose();
// If an exception has occured during processing
if (lpc.getLastSeriouseException() != null) {
// Throw it, this blocks exception catch diplays the error.
throw lpc.getLastSeriouseException();