Addec code to recurse over sublayers when searching for  layer by name
Some hacking about with layers and alpha or something
foo