Tileset editor: Allow tilesets within tilesets to be edited

Also use the new tileset bit depth flag to select the correct palette when
exporting, i.e. don't use the VGA palette when the EGA one will do.