When you put the generator back on, you might consider shimming any gap between the top of the crank case and the generator to take any stress out of the fixing bolts. I used a bit of nylon sheet, cut to size. You're quite lucky that the two bolts are still there as they very often shear or take the thread in the crank case out.
Welding a strap between the generator carrier and one of the distributor bolts is a belt and braces approach I did on my own bike.
I'm trying to do this as a "repair and make reliable" exercise for me to ride in the future rather than "repair / restore and make it pretty" project.
IMO these bikes look great in a much used or even distressed condition. I like them solid mechanically though.