Plugins panel uses $event variable.

Make it a global too then, fixes a notice about
undefined variable.
Marks v1.0.2.