Changed AlwaysKeepInMemory() to be a codegen-time function. Rebuilt the exporting mechanism to be a native analyzer function instead of an external CLI function.