Preloader done.
much prettier; main require code added