- removed unused variable 'commander' - scoped the 'item' variable to the GM_BrowserUI.contentUnload function - added check that this.menuCommanders exists in GM_BrowserUI.contentUnload before doing work on it to avoid "this.menuCommanders is undefined" error.
- removed unused variable 'commander'
- scoped the 'item' variable to the GM_BrowserUI.contentUnload function
- added check that this.menuCommanders exists in GM_BrowserUI.contentUnload before doing work on it to avoid "this.menuCommanders is undefined" error.

- GM issue #1087

Martii/greasemonkey,Ventero/greasemonkey,HasClass0/greasemonkey,the8472/greasemonkey,Ventero/greasemonkey,HasClass0/greasemonkey,Martii/greasemonkey,the8472/greasemonkey