Many changes, Including error checking in inisetup.hpp to check if the file can be written to.