Better dialogue controls

It look like at least some of the improvements made here would also be relevant to other menus.  In particular, that thing  where the mouse pointer interferes with keyboard controls is really annoying, and e5f0d8d in particular would appear to be applicable to, say, the quest journal too...