Add debugging information when panel.destroy throws.
Merge pull request #1224 from Mossop/bug910230

Add debugging information when panel.destroy throws to help figure out bug 910230 r=kwierso