Might be best to comment out the ini file references as the idea was never carried through. Settings seem to be all stored through registry then, which implies additional keys are to be included at uninstallation. Not sure why those registry functions in the above snippet are commented out other than for WIP reasons.
Diagrammatical map of what should go in and out of registry may also help.