Couple of bug fixes found after I installed for the first time.

Just a couple of small things I found and fixed (for me at least).

* Move the first use of PREFS after it has been checked for existence.  This one prevents installation.
* Export changeTab so outline.js can find it.  This one gave me an error when I tried to change the font size in the preferences.