Changed the way 'limitMax' is interpreted.

Changed the way 'limitMax' is interpreted, now the gauge is always updated, even when max_hit.
If limitMax is true, then the actual value is never over maxValue.