inital leaflet implement

messy. messy..
leaflet work 5% done

dang
leaflet rewriting 30% done
leaflet rewriting 60% done
stop event polling when event layer is hidden, beautification
leaflet rewriting 80% done
fix a bug preventing event polling after a layer is hidden