Fix a fantastically stupid bug...

loop=0 for infinite loop, not loop=1.