Made SedPattern copyable, implemented JSON loading, implemented Delete and Duplicate buttons