Move to the main loop.