Let us know if you run into trouble! The "Error Parsing Result XML" error can be difficult to debug at times. How the PyQt5 app/gui is deleted/destroyed can cause the plugin process to crash in the background with anything less than Qt5.14. It was a problem with PyQt up until Qt5.14.
In the off chance that
that's the issue, just make sure to force the order of how objects get destroyed (after everything is all done) to work around it.
The above usually does the trick for me. "window" being your MainWindow or other widget gui object, and "app" being your QtWidgets.QApplication object.