Add badges to tab bar items, improve documentation.