Move 'bot' part to SwingWorker class