Improve threaded library loading in management dialog