various improvements added

added: save support; more support formats, easier variable writers