Refactored splashscreen