1. fix a bug in loading saved parameters to allow ctfire  to use
1) loaded parameters directly;
2) update some of loaded parameters through GUI, while keep all other loaded parameters

2. fix a bug to save the parameters