Well, the result is attached. There is nothing glaringly obvious and I'll need to learn the internals better before suggesting anything. -Brett.