switched from using localStorage to chrome.storage.sync.
replaced calls to chrome with chromeApiService
made popup to main window communication more robust by using urlParams rather than chrome sendMessage api which occasionally failed