Add a toggle button to each pattern.
Print file name in window header.