Added a check to see if a 'settings' folder exists in working directory, and if so, store the settings there instead of on the user's computer.