code cleanup
use normalize_freq() throughout the code
introduce g_deffreq
introduce Dictionary::oldlast