Moved SDL_Window and SDL_Event declarations