Fixed 'Bug 14530 - GUI Thread hangs a while while xml serialization'.
Merge pull request #512 from x2bool/bug14530

Fixed 'Bug 14530 - GUI Thread hangs a while while xml serialization'