extracting hostname from tab system object in the background script instead of passing it from webpage
now content script checks tabId before broadcasting event to the rest of the page, not necessary but...
broadcasting getAccount and signTx events to all tabs replaced by popupClosed event, now content script counts pending requests and if there's none left doesn't broadcast popupClosed to webpage at all
introducing lock, now when a page requests the account or signing a tx, wallet is not available for other tabs, all other requests pending till wallet is free again