Added material count, texture size and NPOT allowing.