Fixed a very difficult bug in ObservableOrderedCollection.flatten()
Fixed an issue that prevented the browser from repainting from window events