Tree view almost finished.