massive overhaul of inheritence engine plus some Element/StyleElement/TextElement enhancements