ENH: Clean up of the node HideFromEditors and Attribute modified events

Works correctly but still very slow. Probably would need to use insert (with checking if the row can be accepted or not) instead of invalidate().