Some internal code changes.
Fix a Gamble Item bug.
Refresh XML files list of the project.
Some XML loader function has moved to the classes.