Source state of a layer does'nt depend on group

With this PR the source states of layers do no longer depend on theirs groups. This fixes a major bug where as soon as one layer of a group was ready then all the other layers of that group were considered ready as well.