Loading screen code update

Updating code in LoadingScreen.java to fix errors Eclipse complains about.