added a preloader

(needs some work)