Added debug statements to postentially needed source code. Re-Organized
the source code to incorporate the SplashScreen.