Fix UI commands support in histo server without FariMQ
plus some fix for some eventual threading conflict
Needs to wait for a backport of !1514 (merged) to the DC branch (right now would also bring Sergey commit from it)
Edited by Pierre-Alain Loizeau