Trees, dendrites, and the Cannon-Thurston map