FLUID-4890: Diagnostics on attempting to access destroyed components

Note that this causes numerous failures in test cases - in particular, any test which creates a preferences panel UI, and the pager's tooltips. These failures need to be addressed before this pull request can be merged. I will take the pager issues myself and tentatively assign the UIO failures to @jobara