Do not display negative stat values

Display zero instead of negative values.
Also remove useless for loops and some unused attributes.