Add start of tile offset populating function.
Add support for created sparse tiled tiffs
Move call to open file for populate tile offsets to codepath that all processs touch.
Fix file creation so that output is correct size.
Remove unneeded read from SPTW.
Add more CXXFLAGS to enable standard warnings.