tweak gist plugin; add event based rendering.