merges contents of psidispatcher.py into spockplugin.py -- untested, unused.