Changed UI layer handling to toggle visibility of layers rather than adding/removing. Added layers by z-order in map.js to allow inorder iteration. Removed toggle for base layer