Adding some documentation, and got rid of page header if no pages exist.