Improvements to asset and app_config rendering. Closes #420.