Fixing some window labels, added an implementation to calculate the
character frequencies.