Fixed bug where XML would not reload.