Adding in logging to help figure out which tiffs aren't working
Correcting indention
Adding in the skeleton of the uncompressed loop with notes on what to do next.
Trying to prevent an infinite loop
Stubbing in some dummy variables