Removed code used for testing/fixing the switch widget.