Refactor how user preferences are applied to the UI

We only need to update the show site header/footer once during
module startup, after which point the menu bar can be left alone.

Signed-off-by: Shawn O. Pearce <sop@google.com>
2 files changed