Added some more testing
All layers are now designed to behave like searchandreplace layers. Also, search and replace is HTML aware.