core: fix Value printing ; ui_qt: link with thread