Changes to yml script. Fixed crash in MainWindow::init.