main window ported to QtQuick.Controls ApplicationWindow