Connected GUI to worker thread, plus more random refactoring.