Refactor SwingWorker class.