Moved iteration status print outside of untimed portion of while() loop