add optional canopy tms layer
fix typo
Commit d32f116 was breaking editing.  Add null check.

See comment in this commit.  It looks like semantically
null and false are the same thing for the tree's readonly
field.