restricted wdgm_setmode_next
switched key with position in keyfind
fixed wdgm_setmode nextfunction