Do not throw exceptions in cleanup so we properly finish the synthesis.
We instead show the user an error dialog with the exception name.
Minor bugfix.