null materials were not exported, but would also mess up the assignment of materials for any valid materials after the empty slots. also made a mistake last recently that Michalis Kamburelis pointed out, changing the default orientation incorrectly. this is now set back to what it was in Michalis's patch.