Adding functionality for a splash screen.
Adding support for when no splash screen is given