Instead of sending & receiving messages to the background page just use the background page variables to access them directly.
Added Singapore "com.sg" to the TLD's we check for since it was requested from the Chrome Store's feedback page.