path persistence within mainwindow now works