Fix a few small holes in font unregistration.
Fix a crash triggered by bulk font unregistration.