Try a simpler algorithm for resizing IFRAME
Don't send duplicate flag entries
Bug #12570: Unselect message when marking as unseen