Fixes #540
Fixes #539
MetroTabItem uses ItemFromContainer.
Don't try to remove the TabItem from Items if the TabItem's CloseTabCommand is bound.
Fix for a rare dispatcher exception.