See discussion thread: _Originally posted by @vsquared in https://github.com/py5coding/py5generator/discussions/664#discussioncomment-13564341_ This probably requires an updated `exitActual()` method in `SketchBase` to better support JavaFX, based on the code in @vsquared's comment. Once this is fixed we can fix #656