Skip null names one !export, and allow strip and export to be used at the same time

modified the export function to check if name was null and to skip if it
is, and now that export doesn't need end tags, there is no reason why
stripping out the header would cause an error if there were unmatched
beginning and ending tags.