Doublettes in attr_dict are now removed when saving a pys file
Macros are now deleted when a new file is loaded