Added tree plotting debug.