1.3 commit

resolves conflicts when multiple labeling layer are active.
supports having selected any layer in registry.