priv.settings.beforeOnKeyDown is not used anywhere currently