Fix cached struct inlining
Fix cached struct inlining

Unit tests are passing again, but there is no coverage of the new sub app feature yet.
Also, there are several other internal and external changes which could use test coverage.

NFig/NFig