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