added try catch to key down events

Since the gamecore is null until new game is selected someone hitting
the arrow keys would cause an exception to be thrown.