added max sound to sound defs. fixed editor "Save-all" button bug