Switch to using QtQuick Controls and QQuickWindow.
Some bug fixing of the new Qt5 code.