Changed template mapping algorithm, manual DOM changes are now preserved. Changed...