More template work. Fix escaped chars. Add displayRange.