Fixed steps in autoSizeColumns() that detects infinite loops for shrink and grow operations.  In some cases the prevTotal exceeded total (for grow) and was less than total (for shrink).  The existing check simply checked if the 2 values were equal, but not if prevTotal had gone beyond the proper bounds, resulting in an infinite loop.
Merge pull request #818 from mjonas87/master

Improved infinite loop avoidance in autoSizeColumns()