starting a new text input. also added templates and layouts arrays.