Use an anonymous namespace for LayoutRow, and add some layout debug
Fix crash on view destruction
Add currentIndex and currentItem