Found problem with ObservableCollection

When used in seperate thread the collection gives an exception. Try and
fix that.