Dylans changes to key_shifter.c