app state now loaded from JSON. XML loading still present for loading old patches.