build main window of talk