ACalc: Fix for 3rd row buttons.  Fix for creating items in templates with foam tag getting wrong context.