Various fixes for Qt 5 and command line
Fix breaking text in some cases
Double click to activate item, Shift + double click to select text