Fixed exported file types list etc.
Fixed reopening of documents.