fixed a bug on loadign prefs and fixed camera feed!