adding userprefs and removing memory tweaks