Setting up the infinite game loop, preloading