Adding spinner and loading vars.