Async layout with massive refactoring and code coverage.