Reorganized loop() routine.