Fixed two problems with the data editor.

#1: Changing the name of a TileSet that had Textures or Animations which referenced it would cause those Textures and Animations to crash the editor when they were opened.

#2: In the Animation editor, the TileX and TileY controls were active even though no frame was selected. This caused the editor to crash when they were used.