Nice bug fix.  Ouch.  Uninitialized values could assign shortcuts randomly.  Where was the clang analyzer when I needed it?