Fix 2 bugs in BoxPlot widget.

1) it crashed when it had no input.
2) compare means crashed