PyQt5 related changes.
PyQt5 changes.
PyQt5 file dialog changes.
Adapt save method to PyQt5.