Updated safety fix and optimization in QtCoreUtilities submodule; small optimization.