refractored splash screen