Bugfix

Fixes a couple of bugs that were causing HEAD not to function and adds some tests.
Are you calling this every time because changePrivacySettings() might be doing something different now?  That's fine, but it reminds me that we need a settings panel to let the user tweak things like google search suggestion disablement, which should perhaps be off by default.