Modified the atom_loop() method to handle the new data structure design.
Authored by: bugman 2009-01-12
Parent: [r8420]
Child: [r8422]