This solution seems to work. The problem on Mac OS is that if widgets associated with a structure are deleted too soon (i.e., from what I can tell, while another thread is drawing the labels for the widget), then we get a crash. This could have very well been exacerbated by the slowness of my VNC box for testing. At any rate, I'm ready to merge this code into the main branch having verified that it works well to avoid the crashes.
This solution seems to work. The problem on Mac OS is that if widgets associated with a structure are deleted too soon (i.e., from what I can tell, while another thread is drawing the labels for the widget), then we get a crash. This could have very well been exacerbated by the slowness of my VNC box for testing. At any rate, I'm ready to merge this code into the main branch having verified that it works well to avoid the crashes.