Fix compilation issues and remove even more legacy XML stuff
Remove legacy XML stuff from world layers
Remove legacy XML stuff from preferences
Handle special preferences
Remove legacy XML stuff from game_core