Just a thought, but you might consider making a subdirectory in the ui directory called "profiles" or something, and then put each individual number setting in a separate xml file contained in that directory. You would then include those files into the main file that you have your code in.
This makes the profiles pretty much plug and play without breaking the main script. They can edit the actual profile paramaters in a spearate file meant only for that profile...
Makes your mod much mroe modular doing it that way...
__________________
|