The main loop can now loop by itself.