Add logic for dynamically injecting markup into header.

Make title and file search box configurable (visible by default).