Pattern generation, saving, loading and restoring complete.