Store the fullscreen flag in settings.

This is because fullscreen is now independent from the video mode,
so we need to store it separately.