Replace mainwindow.ui with C++ so that it is easier to maintain.
Qt: Update languages and translations code.
Qt: Some more improvements to the code.