1. Added visual tree and logical tree dumpers. Useful for understanding performance issues caused by layout
1. Fixed a warning
2. Dumps visual and logical tree
3. Optimized logical tree