[Roster] Refactor mainwindow (light testing)