Bunch of checking to not crash when there is no player on the level.