Removed reliance on SwingWorker for running background tasks