Cleaned up indentations.
Fixed TGA loading code.