Trying some stuff here.
Updated app template code.
More app template fixes.
More app-template shenanigans.