test_slam_layout, a new layout perf test case
Stop rendering when script queries layout
Address review comments