Version 1.41 or higher - small refactoring and small bug fixes

The total row in the vertical view showed uncorrect values
in the case of no occurrences of characters in the file
(1 as sum of zeroes and 100 % as sum of all 0 %)