Fix infinite loops in WidgetListBox
Merge pull request #835 from dorkster/bugfixes

Fix infinite loops in WidgetListBox