rewrote loading animation + various fixes