addProfile, getNewProfileName, hasProfile

Implemented dictionary based variants for the functions:
addProfile, hasProfile and getNewaddProfile.
better exception message for sound readd to profile
replace all old functions with new variants
disable for now config loading
enable new code
drop registering with parent; it's a bad idea