Various caches need to be aware of virtual libraries. 

Rewrite some code to re-use more common code. Implementing the same
thing in many different places is stupid. Calculating the totals might
be slightly slower than before, but it's more accurate with less added
complexity. And their only calculated once, then cached.
Add an icon to the browse mode selector menu item.