Fix bug#8692: Duplicating collections does not duplicate contents
Fix bug#9338: rangesAreValid() assertion error when repeatedly clicking on column headers
Fix bug#9663: wx assertion error right clicking in sidebar (wxYield called recursively).
Fix bug#9634: Mousing over shared collection icon doesn't show status on Windows along with a subtle unreleated crashing bug I discovered while testing the fix. I used the following URL to test the fix.