Actually I fixed it. The problem was I had no edit box... which I didn't realize until I deleted the one layout with an edit box (which gave me a different error which helped me realize I need to remove that one line of code). So it works! Besides the family stuff, but that's a good sign.
If I try and use the same family I get...
File "<string>", line 1, in <module>
File "<string>", line 9, in save
TypeError: 'function' object is not iterable
TypeError: 'NoneType' object is not callable or something like that which might have to do with things in other layouts? Not sure.
Edit: Another major issue seems to be that the other instances of an object don 't seem to actually exist? So for example, take your cap and set it so sprite rotates slowly... So then you'll have 3 spinning boxs, but once the load happens, only one of them will spin.