cleaned up main.qml