removing some dead code
Checks to see if a component has listeners or broadcasts before adding the channel menu and vis lines element.
Small margin fix for tray items.
Fixed missing (X) on unused channels in the channel menu and removed unused function.
Merge pull request #1370 from flukeout/menuxfix

Fix for channel menu bug
Fixed
* Invisible card tabs in chrome
* "No such card" card deleting bug
Merge pull request #1367 from flukeout/traystylefix

Small margin fix for tray items.
Merge pull request #1344 from ScottDowne/deadCode

removing some dead code around createURLPrefix
Merge pull request #1374 from flukeout/cardnavfix

Fixed
Merge pull request #1365 from flukeout/emptymenufix

Empty channel menu fix.