minigames puzzle and castleeditor now loaded from global.xml. All reference assignments moved to oncreationready