made mainwindow contain slots to model instead of modelform containing slots to model