got rid of globals in iniCreator.  Everything passed in so that iniCreator can be run independently.