blink plugin

Careful of leaking globals!