added test for SF bug #244.
again a fix for SF bug #244 to make it work correctly again.
fixes and new code for itclWidgets implementation.