Yeah, the owning shared pointers is pretty screwed up.
My bigger concerns is that even if you put up with all that stuff, it fails at basic rendering tasks...
Or it takes too damn long to code anything.
But I can't really figure out what would help those two problems. Replacing the rendering backend with something without legacy stuff would help. For example, there are 3 competing ways to style widgets.