Well, one way to fade in and out the splash screen would be to 1) display a black fullscreen panel. 2) fade the splash screen in overtop of it. 3) fade the splash screen out. 4) turn off the black fullscreen panel.
after freeze_mode = 0, shouldn't mouse_mode = 1 ?????