fixed a type in WidgetVisitor.cpp and added some low-level debug
code to hunt the hunting of children