Cleaned up splash screen code.