Added checking for duplicate entries in profile information and create non existent data folder

Added check for duplicate profile name, and data folder, the settings
will still be saved, we just warn the user. Also makes a check to see if
the data folder exists, if not creates it.