Code optimization, minor fixes.
If a calendar is hidden from the menu/left panel, the corresponding column in the header view is hidden and the remaining columns dimensions are recomputed.