[XSD] Queue-based settings thread.

Fixes #1435 again.