rearrange loadingScreen(), rename variables

the following variables have been renamed:
time -> fadeTime (long)
fading -> fadingIn (bool)
fade -> fadeValue (float)

Let me know if there is any problems or if any of the changes I made conflicts with other's coding style