builder: add the frame to the framestore before using template engine
tags.frame: rename variables to be a little less confusing
templateManager: remove first item from chain, set parent name to target.getName