Animeditor fixes

Reset Bones when you close the editor, put skeleton parsing in a better
place