JBIDE-14075 Firebug lite closes when I follow or open a new url

implemented for weinre
small code refactoring
incorrect detection of already injected weinre url fixed