Changed up the GUI thread