New computer, sketches don't work? [Updated and "fix" found]

I upgraded to an M1 Mac mini and and coming back to Processing after not using it for a while. I’m running into a problem with all of my sketches in that they will run, in a way, but display only a black screen while doing so.

I also tried some of the standard examples provided in the installation and some run fine, some don’t.

On my sketches I seem to be getting the same basic error message:

0   AppKit                              0x00007ff80364b6e3 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 352
1   AppKit                              0x00007ff803637674 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1288
2   AppKit                              0x00007ff803637166 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
3   libnativewindow_macosx.jnilib       0x0000000127d733fe Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 398
4   ???                                 0x000000010d80f4c8 0x0 + 4521522376


Any thoughts on how I might proceed?

UPDATE: I found this thread: Problems with P2D and P3D renderers with new Apple M1 processor

Which has the same problem. The solution is to add frameRate just after size. There appears to be a bug somewhere?

In any event, in the sketches I’ve tested with so far the fix is working…