Minor code cleanup in splashscreen