Refinements to bar chart and misc fixes.