I’m honestly not sure how much of the time I spent porting this code over was worthwhile. I feel like I learned a lot, and maybe made some performance gains. I think I’ll just have to regard this as an adventure and an education and move on.
Some bugs are left to fix, so the next couple of days are going to be figuring out what’s malfunctioning in the overhauled behavior code and addressing that. After that, I’ll either start developing a full-featured version of the detail editor or start digging into the entity editor.