TreeNode patch: enables children for layer items, enables layer's name in the option (apply snippet from "pre-2.0").