core & ui_qt: fix : xrefs, selections, ctxt menu