support expansions in group3 and better modmap semantics
handle keymap changes