AppPageViewer: now allows nested/inline templates/files