Revert "Uncomment keyfreq mode, to see if I can debug what is going wrong with it"

This reverts commit fc2b60cbdf07deb8fac78529fb951c1404217baf.