Hugh chiou

added close() to CapDocument(string) and Load()