Replace uses of SDLKey by SDL_Keycode. Also, commit missing changes in main.h.