AppTemplateTree: misc improvements, async loading, etc