Add layer on/off functionality addressing enhancement request issue #8 and issue #9