loading animation. many fixes