update to controller threading according to "Keeping the GUI responsive" qt quarterly