Update to changes in latest Ovale.

The script manager has been imported into Ovale itself, so this addon now
only contains scripts and nothing more.  It may be used as a template for
other Ovale script module authors.

Squash some global variables along the way.