performance improvements, added iterations option to save menu