Extracts thematic structure without introducing new regex.
Starting to look clear how to formulate a goal that recycles repetitions of themes.
Can infer from thematic structure and next measure to be generated what should be copied over and what should not. Planning some cleanup next.