AVALANCHE: Use keykodes instead of ASCII values in handleKeyDown().