To get this script to work:
Scriptlinks must be enabled.
The file 
onionskin_gui.py
can be in .blender scripts/animation or your default script location.
Onion skin_spacehandler.py
must be opened in the Blender Text Editor for the script to work.