Added @sphaero's concurrent loading to patternsdialog.cpp