Renamed mainwindow to connectwindow
Changes to connectwindow.