Fix #32: Errors in loading/saving Theme XML