updated preloader
added history loading