Closes #4 and adds ability to have patternname.txt show below the pattern.