Fix more deprecation warnings
@tleupold If you have time, could you take a look at this before I merge it?
It should be fine, but I did not try and trigger each of the affected dialog windows and I did make some behavioral changes (see commit messages for details). Besides, an additional pair of eyes can hardly ever hurt...