Fixed wrong macro definition in game state header and added loadgame to load editor state