Extremely simple background main loop.