Remove debug print statements and blankline at begining of loadPreferences.()