Fixed custom header bug.
Improved support for threaded items in top navigation.