better names in data layer control
simpler gsub
controls NA bug fixed
documentation updated