refactor templtag in Vector.toHTML
stop URL_LAYERS from leaking into outer scope
repaired stop button