load and save from GML snippets (closes #167)