Move global preferences over to the more flexible NSUserDefaults