Fixed various bugs dealing with the header/nav.