Make use of layer control status function in main script
Layers display status now persist between session
Merge pull request #223 from Xelio/patch-layer-status-persist

Make use of layer control status function in main script