Boolean toAdd to speed up creation checking. Simplified template creation code for max count. Begun considering toRemove options.