programmatic checkboxes. working on updating layers via checkbox onchange.