fixed bugs when tables all 0, and proper implementation of confidence and comparison intervals (excluding zero-count rows) for barplots