MainWindow rework, LoginWindow rework, GUI integration