To Fix Firefox
Uninstall Yahoo Tool bar from Control panel (if its not there http://help.yahoo.com/l/mye/yahoo/toolbar/troubleshootff/toolbar-55.html) If problem is still there .. Open Firefox in Safe mode, disable all addons and reset settings
To activate OS, Try latest Windows 7 Activator/Loader