Attempt to cleanup the kbd widget.