Re-added save / load feature.  Now uses text file for increased
robustness against future parameter changes.  Abandoned old internal
pattern set data structures for a newer version.