Refactor TabbedWindowWidget

Merge what was formerly two separate widgets into one, and simplify its
interface.
Set table titles via a callback
Show number of unread messages in tab title

Press any key to clear unread messages for the current conversation tab.