Refactor site header stuff.
Add a touch of documentation.