hack access to --title switch in Qt5
fix cnp bug, actually support --cancel-label
conditionally use custom cancel/ok strings on progress button