core: improve string handling ; ui_qt: save as dialog provides filter