Added preference loading from userhome/appdata