mainwindow: forgot tr() for two strings
mainwindow: minor style inconsistency
mainwindow: change warning dialog wording
mainwindow: correct typo