I think this commit fixes  bugs.
Bug 1) The first time the app loads, it places the focus correctly
Bug 2) The pref extensions.cnt.focus it placed in install() and startup() under the correct reasons.
Bug 3) The preferences dialog is not large enough on macs.  There is now a min width and min height