Massive changes to Chrome Mox logic.