added a loading gif and a layer to blank out the screen when loading