Some sort optimizations within the Ids object.
Better debugging output from cache object

Remove superfluous labels - it is obvious what a mailbox is vs. UIDs
Add cache retrieval labels
Better debugging/cleanup debug output