Quick links: content, navigation, search.
Added ability to register another log function; thanks to Zack for the code