Pass back length used to draw strings, fix template