Fix not updating attribute count correctly in various places.
Add some basic default style rules.
Basic handling of interaction-active for links.