The WSJ reports that neither Mozilla nor Google would address the $1B elephant in the room: "Mozilla is negotiating with Google Inc. to renew a search contract that provides most of its revenue. Google is openly supportive of gay rights, so it may have been difficult to renew such a deal with Mr. Eich at the helm, said a former Mozilla insider. Mozilla and Google declined to comment on the negotiations."
Perhaps things have since changed, but Facebook explained in the linked (2010) article, "Rather than making photos viewable on 0.facebook.com, we put the photos one click away so they don't slow down the experience. You can still view any photos on Facebook if you want but your regular data fees will apply."
After Google CEO Eric Schmidt informed Steve Jobs that a Google recruiter had been terminated for not-getting-with-the-do-not-poach-program, Jobs responded by e-mailing only an evil 'smiley' to Apple's head of HR.
I've noticed several design suggestions in your code.