Lots of fixing and pruning down.  Fixed to work with the latest sync web processor stuff.  Still needs a lot of thought of proper logging, error handling, configuration, etc.