Added the xml loader to the level editor, fixed some offset issues.