UI cleanup and localisation support

* Add alert() to see if the other branch of getHTMLDocReference() is
called.
* Update preferences XUL to use fewer “style” attributes.
* Remove reference to previously-removed overlay.css from overlay.xul.
* Include a short script to build and install on Macs.
* Ready the preferences window for localisation by using strings.