sync to safemode branch -r11599, fixes to dds mipmap code
remove temp debug code
more cleanups related to dds mipmaps
Reverted clearSaveString change until new windows binary comes.
resync to svn head -r11595
sync to safemode branch -r11594, fix maxdimension, fix mipmaps, cleanups to DDS code
Further fixes and cleanups to mipmap issues
Commented out useless tracebacks.
Uneven dodo unit texture, fixed mipmaps
Fix maxdimension bug, Make workaround for missing mipmaps