Cleanup sc_iniparser routines
Add double range checking to sc_options