Reworked splash screen code.