Nuclear receptor TLX prevents retinal dystrophy and recruits the corepressor atrophin1.