Quick links: content, navigation, search.
basename is now also used for non-DEBUG, remove ifdef for #include.