towards a visitor-like buildSpec
cleaning up
making window switcher compatible with changed buildSpec
towards buildSpec for attributeConnections