pull printStatus out into a loop

this was annoying me. ***WARNING: UNTESTED. MAY NOT COMPILE***