improves text placement. fixes z-index duplications and moves z-index of the layer selector to the top