Scene Structure window: write/read the state of Group, Component and Attribute visibility to/from config. Closes #727. Fix bug that caused attribute items not be shown when opening Scene Structure window while components not visible.