delete mainwindow because errors in other ide's