layer legend click
Merge remote-tracking branch 'upstream/master' into Development
CT's WIP codebase as on Oct 24, 2013