Fix button and popup not working on IE7

This fixes a few things to get the extension button working on IE7 where the IE frame is in the same process as the BHO.