preloader and other changes